View Single Post
  #1  
Old 4th March 2011, 06:57
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 5
Thanked 3 Times in 2 Posts
Default ISPConfig 3.0.3.2 & Webdav & 403 Forbidden

Here's what I've done.

I've added the following to my domain.vhost:
Code:
<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
I've then created a user in the WebDav ISPConfig panel. ALL fields are filled in.

This updated the domain.vhost as such:
Code:
    <IfModule mod_dav_fs.c>
    # DO NOT REMOVE THE COMMENTS!
    # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN

      Alias /webdav/calendar /var/www/clients/client1/web2/webdav/calendar
      <Location /webdav/calendar>
        DAV On
        AuthType Digest
        AuthName "calendar"
        AuthUserFile /var/www/clients/client1/web2/webdav/calendar.htdigest
        Require valid-user
        Options +Indexes
        Order allow,deny
        Allow from all
      </Location>
    # WEBDAV END
    </IfModule>
When trying to access Webdav using cadaver as mentioned here I get the following:
Code:
cadaver http://MYDOMAIN.net/webdav/calendar
Could not open collection:
403 Forbidden
I also get a 403 Forbidden page when trying to view via web. I have done a2enmod dav, a2enmod dav_fs, and a2enmod auth_digest.

My directory permissions are as such:
Code:
root@auriga:/var/www/MYDOMAIN.net/# ls -alh
drwxrwx---  3 web2 client1  4096 2011-03-03 22:35 webdav

root@auriga:/var/www/MYDOMAIN.net/webdav# ls -alh
total 16K
drwxrwx---  3 web2 client1 4.0K 2011-03-03 22:35 .
drwxr-xr-x 15 root root    4.0K 2011-03-03 22:35 ..
drwxrwx---  2 web2 client1 4.0K 2011-03-03 22:35 calendar
-rw-r--r--  1 root root      59 2011-03-03 22:35 calendar.htdigest
The only thing I get in the apache access.log is:
Code:
72.51.174.102 - - [03/Mar/2011:22:43:11 -0600] "OPTIONS /webdav/calendar/ HTTP/1.1" 403 1809 "-" "cadaver/0.23.3 neon/0.29.0"
And in the error.log is:
Code:
[Thu Mar 03 22:35:27 2011] [error] [client 192.168.2.101] (13)Permission denied: access to /webdav/calendar denied
At no time have I ever received a login window where I can put my information in. Even in Cadaver, I just get a 403 error. I'd really appreciate any help, as I'm sure it's a permissions issue, I just can't figure out where.
Reply With Quote
Sponsored Links