WebDAV on Apache

On a stock RedHat 9.0 Apache installation, it is enough to modify /etc/httpd/conf/httpd.conf (following instructions from webdav.org) adding something like

<Location /home/www>
    DAV On
    <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        [AuthType, Require user, etc., etc.]
    </Limit>
</Location>

If however you have any CGI scripts accessed by POSTing forms under /home/www, the authentication required above will be requested for those, as well. A solution (suggested by Rainer Ziller) is to make an alias of /home/www, and apply the Location statement to that alias:

Alias /dav /home/www

Feb 22, 2006

dav (/webtricks)
2006-02-22, 12:35 [edit]


  Login:   Password:   [rss] [cc] [w3] [css]

© M. Vallisneri 2012 — last modified on 2010/01/29

Tantum in modicis, quantum in maximis