<VirtualHost *:80>
ServerName webdav.server.com
DocumentRoot /var/www/html/
# assuming webdav-js is checked out to /var/www/webdav-js
Alias /webdav-js /var/www/webdav-js
<Location />
DirectoryIndex disabled
IndexOptions +Charset=UTF-8
DAV on
AllowOverride None
Options +Indexes -ExecCGI
HeaderName /webdav-js/examples/apache-directory-list/header.html
SetHandler None
</Location>
# Add security
<Directory /var/www/webdav-js>
Satisfy all
<LimitExcept GET>
Deny from all
</LimitExcept>
</Directory>
</VirtualHost>
|