Hello
I am trying to get WebDav to work on Apache 2.0.52. I have added this Location directive to my VirtualHost *:80
<Location /webshare/>
DAV on
</Location>
And it worked, I could set up a webshare from Windows IE and although it is very slow, I can drag and drop, delete, etc.
I then tried to limit access and changed the <Location to
<Location /webshare/>
DAV on
AuthType Basic
AuthName DAV
AuthUserFile /home/web/apache/auth/userfile
<LimitExcept GET OPTIONS>
require admin
</LimitExcept>
</Location>
I created the userfile with htpasswd, added the admin user and made sure that the userfile had the server user and group.
httpd.conf also contains
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Now when I try to create a webshare the user id/password dialog keeps popping up when I enter the correct user and password (It does prefix the user id with the ip address of the server but the authentication does not work with this either)
I have experimented with the Limit directive.
If I put <Limit GET> then the webshare folder is displayed and a file can be dragged to it
If I put <Limit GET PUT> then the folder is display but I get an Access Denied if I try to drag a file there
If I put <Limit GET PUT PROPFIND> then I cant get past the authorisation dialog.
This therefore appears to be a problem with apache checking the authorisation - what have I missed?
Many thanks
Mike
I am trying to get WebDav to work on Apache 2.0.52. I have added this Location directive to my VirtualHost *:80
<Location /webshare/>
DAV on
</Location>
And it worked, I could set up a webshare from Windows IE and although it is very slow, I can drag and drop, delete, etc.
I then tried to limit access and changed the <Location to
<Location /webshare/>
DAV on
AuthType Basic
AuthName DAV
AuthUserFile /home/web/apache/auth/userfile
<LimitExcept GET OPTIONS>
require admin
</LimitExcept>
</Location>
I created the userfile with htpasswd, added the admin user and made sure that the userfile had the server user and group.
httpd.conf also contains
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Now when I try to create a webshare the user id/password dialog keeps popping up when I enter the correct user and password (It does prefix the user id with the ip address of the server but the authentication does not work with this either)
I have experimented with the Limit directive.
If I put <Limit GET> then the webshare folder is displayed and a file can be dragged to it
If I put <Limit GET PUT> then the folder is display but I get an Access Denied if I try to drag a file there
If I put <Limit GET PUT PROPFIND> then I cant get past the authorisation dialog.
This therefore appears to be a problem with apache checking the authorisation - what have I missed?
Many thanks
Mike