PDA

View Full Version : Setting up WebDAV in F9


agoela
2008-06-03, 06:00 PM CDT
I have setup a partition as a webdav partition to access the files more easily on my windows boxes, I am able to connect to the share when i do http://formosa-usa/share, but when I try http://www.formosa-usa.com/share I keep getting prompt for username and password. Below is my webdav conf. file

Alias /share /media/storage

<Location /share>
DAV On
Options None
AuthType Basic
AuthName WebDAV
AuthUserFile /etc/httpd/conf/.htaccess

<LimitExcept GET OPTIONS>
Order allow,deny
Allow from All
Require valid-user
</LimitExcept>
</Location>

The host name is "formosa-usa" and not "formosa-usa.com" could that be causing an issue? I do believe I am connecting to the server since it is prompting me for my username and password, but I could be wrong.

On another note, I do notice that I am getting segterms when starting httpd service. I do not know if I should create a seperate thread for this though.

Any help is greatly appreciated.

agoela
2008-06-03, 08:08 PM CDT
Now I can not even connect to it from within my network. I know it is hitting the server because I see the ip address in the access logs.

68.83.147.56 - - [03/Jun/2008:21:46:28 -0400] "PROPFIND /share HTTP/1.1" 401 521 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
68.83.147.56 - - [03/Jun/2008:21:46:28 -0400] "PROPFIND /share HTTP/1.1" 401 521 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
68.83.147.56 - - [03/Jun/2008:21:46:28 -0400] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
68.83.147.56 - - [03/Jun/2008:21:46:28 -0400] "PROPFIND /share HTTP/1.1" 401 521 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
192.168.1.3 - - [03/Jun/2008:21:55:00 -0400] "PROPFIND /share HTTP/1.1" 401 513 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
192.168.1.3 - - [03/Jun/2008:21:55:00 -0400] "PROPFIND /share HTTP/1.1" 401 513 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
192.168.1.3 - - [03/Jun/2008:21:55:00 -0400] "OPTIONS / HTTP/1.1" 200 - "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"
192.168.1.3 - - [03/Jun/2008:21:55:00 -0400] "PROPFIND /share HTTP/1.1" 401 513 "-" "Microsoft-WebDAV-MiniRedir/5.1.2600"

What could be causing the problem?

majikthise
2008-06-04, 12:22 PM CDT
AFAIK that the Component Services permissions need to be adjusted for the web-server application.
Have a look at Microsoft guidelines on webdav security here:
http://support.microsoft.com/kb/323470

agoela
2008-06-04, 07:54 PM CDT
Thanks for your response, I did look at the support doc, apparently you have to connect to webdav with https. I am able to attach it to my windows server successfully.