How do you set up WebDAV with ISPConfig?

Discussion in 'Server Operation' started by ptr, Aug 13, 2007.

  1. ptr

    ptr New Member

    Hello

    There have been a few posts about this but none of them offer a solution that works for me.

    I have tried pasting the WebDAV config bits into the Apache Directives but I get an error "Cannot assign HTTPD includes to this website"

    This is what I pasted

    Alias /webdav /var/www/www.example.com

    <Location /webdav>
    dav On
    AuthType Digest
    AuthName "webdav-service"
    AuthUserFile /home/webdav/digest-password
    Require valid-user
    </Location>

    Has anyone got this to work ?, any suggestions would be most appreciated

    Thanks
     
  2. ptr

    ptr New Member

    I have found the problem with the HTTPD Include, in order to be able to use the Apache Directive field on the site screen, the Reseller must have the "HTTPD Includes" field checked.

    I have now pasted the following and can access the webdav using a cadaver client

    Alias /webdav /var/www/web1/webdav

    <Location /webdav>
    dav On
    AuthType Digest
    AuthName "webdav-service"
    AuthUserFile /home/webdavpwd/digest-password
    Require valid-user
    </Location>
     
  3. ptr

    ptr New Member

    The WebDav config now works fine from a cadaver client on Linux but will not work on an XP client

    I have tried all the suggestions I have found so far but the "Add network place wizard" will not accept the user/password combination

    I have tried adding :80 to the server address and # at the end but the wizard refuses to accept this as valid webdav folders

    I have tried creating htpasswd users with server\username, domain\username, [email protected], [email protected] and using them in the wizard authorisation panel but none of them work

    This is what I have pasted into the Apache Directives panel in ISPConfig

    BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    BrowserMatch "Microsoft-WebDAV-MiniRedir/5.1.2600" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS" redirect-carefully

    Alias /webdav /var/www/web1/webdav

    <Location /webdav>
    DAV On
    AuthType Digest
    AuthName "webdav-service"
    AuthUserFile /home/webdavpwd/digest-password
    <LimitExcept OPTIONS>
    Require valid-user
    </LimitExcept>
    </Location>

    Is there anything else I can try ?
     

Share This Page