You are not logged in.
Pages: 1
Hello,
I have followed the WebDav wiki and I get the error 403 Forbidden:
$ cadaver http://127.0.0.1/dav
dav:/dav/> mkcol test
Creating `test': failed:
403 Forbidden
dav:/dav/>
I have looked the forum pages
* 403 Forbidden Error on directory but not on index page which actually uses owncloud's webdav
* [SOLVED] Apache and user directory
And also tried what is said in the discussion page
But I can't find the problem.
/var/log/httpd/access_log:
127.0.0.1 - - [11/Apr/2015:12:16:46 +0200] "OPTIONS /dav/ HTTP/1.1" 200 -
127.0.0.1 - - [11/Apr/2015:12:16:46 +0200] "PROPFIND /dav/ HTTP/1.1" 207 683
127.0.0.1 - - [11/Apr/2015:12:16:56 +0200] "MKCOL /dav/test/ HTTP/1.1" 403 977
/var/log/httpd/access_log:
[Sat Apr 11 12:14:42.113880 2015] [dav:error] [pid 22639:tid 140478398338816] (13)Permission denied: [client 127.0.0.1:46716] Unable to create collection. [403, #0]
/etc/httpd/cond/httpd.conf: (full conf if here)
DAVLockDB /home/httpd/DAV/DAVLock
Alias /dav "/home/httpd/html/dav"
<Directory "/home/httpd/html/dav">
DAV On
AllowOverride None
Options Indexes FollowSymLinks
Require all granted
</Directory>
And the status of my directory:
$ ls -la /home/httpd/DAV/
total 8
drwxr-xr-x 2 http http 4096 10 avril 19:29 .
drwxr-xr-x 4 root root 4096 10 avril 19:27 ..
-rw-r--r-- 1 http http 0 10 avril 19:29 DAVLock.dir
-rw-r--r-- 1 http http 0 10 avril 19:29 DAVLock.pag
$ ls -la /home/httpd/html/
total 12
drwxr-xr-x 3 root root 4096 10 avril 19:27 .
drwxr-xr-x 4 root root 4096 10 avril 19:27 ..
drwxr-xr-x 2 nobody nobody 4096 11 avril 10:38 dav
Thanks for any help !
Last edited by Louson (2015-04-11 10:41:10)
Offline
Hello Louson,
If you haven't resolved the problem, try to change the permissions.
chown -R http:http /home/httpd/html/dav
Offline
ok, it works...
if I open webdav dir with konqueror:
webdav://myuser@localhost/dav/
I can create or rename dir or file...
but I have access-error if I try to open file with editor kate
Offline
What error do you get with Kate? Also, what does apache log at that point?
Offline
in /var/log/httpd/error_log I dont view error
in kate I view error:
impossible to load file, is no possible to read it
impossible to create io-slave
in cadaver all works with "edit" command
http://digilander.libero.it/sacarde/np/errore-kate.jpg
Last edited by sacarde (2015-05-02 11:18:34)
Offline
Pages: 1