webdav.conf 644 B

1234567891011121314151617181920212223
  1. ServerName webdav.server.com
  2. DocumentRoot /srv/webdav/root
  3. # This prevents indexes from being parsed (unless they're called the below...)
  4. AccessFileName .file-that-will-never-exist
  5. DirectoryIndex .file-that-will-never-exist
  6. # assuming webdav-js is checked out to /srv/webdav-js
  7. Alias /webdav-js /srv/web/webdav-js
  8. <Location />
  9. DAV on
  10. Options +Indexes
  11. HeaderName /webdav-js/examples/apache-directory-list-local/header.html
  12. # the below only needed on a server configured with PHP
  13. RemoveType .php
  14. RemoveHandler .php
  15. AddType text/plain .php
  16. # Add simliar directives for other server-based lanauges
  17. </Location>