Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2:58 spiceman@cynic ~ % cat /etc/apache2/mods-enabled/setenvif.conf
  2. <IfModule mod_setenvif.c>
  3.  
  4. #
  5. # The following directives modify normal HTTP response behavior to
  6. # handle known problems with browser implementations.
  7. #
  8. BrowserMatch "Mozilla/2" nokeepalive
  9. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  10. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  11. BrowserMatch "Java/1\.0" force-response-1.0
  12. BrowserMatch "JDK/1\.0" force-response-1.0
  13.  
  14. #
  15. # The following directive disables redirects on non-GET requests for
  16. # a directory that does not include the trailing slash.  This fixes a
  17. # problem with Microsoft WebFolders which does not appropriately handle
  18. # redirects for folders with DAV methods.
  19. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
  20. #
  21. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  22. BrowserMatch "MS FrontPage" redirect-carefully
  23. BrowserMatch "^WebDrive" redirect-carefully
  24. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
  25. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  26. BrowserMatch "^gvfs/1" redirect-carefully
  27. BrowserMatch "^XML Spy" redirect-carefully
  28. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  29. BrowserMatch " Konqueror/4" redirect-carefully
  30.  
  31. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement