You are not logged in.

#1 2011-10-12 16:32:55

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

WebDAV issues

Im running Arch Linux on my pogo plug and used the instructions on this Wiki. I can connect, delete the stuff in the folder but when i try to copy something to it i get the error on WIN 7 "Cant read from source file or disk" Any ideas? Another question is what would i need to do to move the DAV folder from the /srv/http/dav to /media/External as thats where all my files are stored. The OS is stored on a 2GB usb stick and isnt suitable for storing other files.

Offline

#2 2011-10-12 17:07:34

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: WebDAV issues

You followed this wiki-page: https://wiki.archlinux.org/index.php/Si … bDav_Setup ?

To change the directory, you simply change the part in /etc/apaceh/httpd.conf:
<Directory "/home/httpd/html/dav">
DAV On
AllowOverride None
Options Indexes FollowSymLinks
</Directory>

The other problem you describe sounds like a weird permissions-problem. Did you restart/reload apache after configuring it? Did you test with another client (ruling problems in Win7 out)?

HTH

Offline

#3 2011-10-12 18:15:45

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

Re: WebDAV issues

zenlord wrote:

You followed this wiki-page: https://wiki.archlinux.org/index.php/Si … bDav_Setup ?

To change the directory, you simply change the part in /etc/apaceh/httpd.conf:
<Directory "/home/httpd/html/dav">
DAV On
AllowOverride None
Options Indexes FollowSymLinks
</Directory>

The other problem you describe sounds like a weird permissions-problem. Did you restart/reload apache after configuring it? Did you test with another client (ruling problems in Win7 out)?

HTH

Yes thats the correct wiki page. i fixed the path to point to my external drive so thats working but i still cant upload files to it. I tried a XP machine as well. It never asks for credentials or anything so im thinking maybe thats causing the permissions. And i did restart the device completely as well as restarting the service between changes

Last edited by Mazdaspeed6 (2011-10-12 18:20:33)

Offline

#4 2011-10-12 19:09:33

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: WebDAV issues

Do you see any errors in your apache log files?

Offline

#5 2011-10-12 19:28:25

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

Re: WebDAV issues

zenlord wrote:

Do you see any errors in your apache log files?

here is the log from ERROR_LOG i cleared it and then restarted the server and then tried copying a file.

[Wed Oct 12 14:25:53 2011] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 12 14:25:53 2011] [notice] Digest: done
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mssql.so' - /usr/lib/php/modules/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_odbc.so' - /usr/lib/php/modules/pdo_odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_pgsql.so' - /usr/lib/php/modules/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_sqlite.so' - /usr/lib/php/modules/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Wed Oct 12 14:25:56 2011] [notice] Apache/2.2.21 (Unix) PHP/5.3.8 with Suhosin-Patch mod_ssl/2.2.21 OpenSSL/1.0.0e DAV/2 configured -- resuming normal operations
[Wed Oct 12 14:26:50 2011] [error] [client 206.74.23.18] The locks could not be queried for verification against a possible "If:" header.  [500, #0]
[Wed Oct 12 14:26:50 2011] [error] [client 206.74.23.18] Could not open the lock database.  [500, #400]
[Wed Oct 12 14:26:50 2011] [error] [client 206.74.23.18] (13)Permission denied: Could not open property database.  [500, #1]

Offline

#6 2011-10-12 19:41:33

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

Re: WebDAV issues

I ran the cabever test and here is what i got

[root@POGO ~]# cadaver http://127.0.0.1/External
dav:/External/> mkcol test
Creating `test': failed:
500 Internal Server Error
dav:/External/>

Offline

#7 2011-10-13 15:46:45

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: WebDAV issues

Offline

#8 2011-10-14 01:23:35

Mazdaspeed6
Member
Registered: 2011-10-12
Posts: 12

Re: WebDAV issues

Well it seems that path listed doesnt exist, i looked in the lock folder and theres only a webmin file

Offline

#9 2011-10-14 19:27:31

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: WebDAV issues

That probably means apache is not allowed to write into that directory. Thus a permissions-problem...

Offline

Board footer

Powered by FluxBB