webdav.conf 632 B

12345678910111213141516171819202122232425
  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 /header.html /srv/webdav-js/header.html
  8. HeaderName /header.html
  9. <Location />
  10. DAV on
  11. Options +Indexes
  12. HeaderName /header.html
  13. # the below only needed on a server configured with PHP
  14. RemoveType .php
  15. RemoveHandler .php
  16. AddType text/plain .php
  17. # Add simliar directives for other server-based lanauges
  18. </Location>