Hi all, I have apache 2.2.6 with WebDAV configured on Redhat Enterprise Linux 4. I could access the web enabled folder from my Windows xp after the configuration is done. The issue comes up only when I try to restrict the webdav access to an authorized user. I could login and view the contents in Internet Explorer but it doesn't accept the credentials when I tried to map a net work drive to the web folder or when I tried to open the web folder in IE. Here are the contents of my httpd-dav.conf. DavLockDB "/opt/apache/var/DavLock" Alias /uploads "/opt/apache/htdocs/uploads" <Directory "/opt/apache/htdocs/uploads"> Dav On Order Allow,Deny Allow from all Options Indexes MultiViews AuthType Digest AuthName DAV-upload # I used htdigest -c "/opt/apache/htdocs/user.passwd" DAV-upload davadmin -- sailaja AuthUserFile "/opt/apache/htdocs/user.passwd" AuthDigestProvider file # Allow universal read-access, but writes are restricted # to the admin user. <LimitExcept GET HEAD OPTIONS> require user davadmin </LimitExcept> <LimitExcept POST PUT COPY DELETE LOCK MKCOL MOVE UNLOCK> require user davadmin </LimitExcept> </Directory> Could you please let me know what is wrong with my configuration? I tried changing the above configuration multiple times. I appreciate your help. Thank you. -- Sailaja
Any errors in Apache's error log? Have you tried to specify port 80 in the WebDAV URL (e.g. http://www.example.com:80/uploads)?
I also tried creating a different user and accessed with it. It still doesn't work. There are no errors in the logs. The access with port 80 also wouldn't work. Thank you.
The user.passwd file contains the result of running the command htdigest -c "/opt/apache/htdocs/user.passwd" DAV-upload davadmin. Could you let me know what should be the security settings/permissions of the webdav enabled folder and what else do I have to change? I think it is some permission issue. Thank you.
Can you add this to your WebDAV configuration? Code: BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "MS FrontPage" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
The following already exists in my configuration file. # # The following directives disable redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with several clients that do not appropriately handle # redirects for folders with DAV methods. # BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "MS FrontPage" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully BrowserMatch "^gnome-vfs/1.0" redirect-carefully BrowserMatch "^XML Spy" redirect-carefully BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully Thanks -- Sailaja