LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   Issue with Webdav authentication running Apache 2.2.6 on Redhat Enterprise Linux 4 (https://www.linuxquestions.org/questions/other-%2Anix-55/issue-with-webdav-authentication-running-apache-2-2-6-on-redhat-enterprise-linux-4-a-660455/)

psailaja 08-04-2008 06:18 PM

Issue with Webdav authentication running Apache 2.2.6 on Redhat Enterprise Linux 4
 
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>

I also tried <Location /uploads> instead of <Directory "path"> above. 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


All times are GMT -5. The time now is 06:08 PM.