zzz_webdav-js.conf 787 B

123456789101112131415161718192021222324252627282930
  1. <VirtualHost *:80>
  2. ServerName webdav.server.com
  3. DocumentRoot /srv/webdav
  4. AccessFileName ASDFADSHADFHAESDFDSAFDASGASDFASDFASDFSA
  5. DirectoryIndex ASDFASDFASDFASDFASDFASDFASDFASDFSADFSDD
  6. Alias /__content__ /srv/webdav-js
  7. HeaderName /__content__/examples/apache-directory-list/header.html
  8. ReadmeName /__content__/examples/apache-directory-list/footer.html
  9. <Location />
  10. DAV on
  11. php_flag engine off
  12. # don't want PHP or HTML rendering as anything other than text
  13. # you might need to add more types here
  14. AddType text/plain .php
  15. AddType text/plain .html
  16. </Location>
  17. <Location /__content__/>
  18. # in here we do want the HTML rendered
  19. AddType text/html .html
  20. </Location>
  21. </VirtualHost>