setenvif.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <IfModule mod_setenvif.c>
  2. #
  3. # The following directives modify normal HTTP response behavior to
  4. # handle known problems with browser implementations.
  5. #
  6. BrowserMatch "Mozilla/2" nokeepalive
  7. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  8. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  9. BrowserMatch "Java/1\.0" force-response-1.0
  10. BrowserMatch "JDK/1\.0" force-response-1.0
  11. #
  12. # The following directive disables redirects on non-GET requests for
  13. # a directory that does not include the trailing slash. This fixes a
  14. # problem with Microsoft WebFolders which does not appropriately handle
  15. # redirects for folders with DAV methods.
  16. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
  17. #
  18. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  19. BrowserMatch "MS FrontPage" redirect-carefully
  20. BrowserMatch "^WebDrive" redirect-carefully
  21. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
  22. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  23. BrowserMatch "^gvfs/1" redirect-carefully
  24. BrowserMatch "^XML Spy" redirect-carefully
  25. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  26. BrowserMatch " Konqueror/4" redirect-carefully
  27. </IfModule>
  28. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet