Guest User

Untitled

a guest
Jun 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. <Location />
  2. # Insert filter
  3. AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
  4.  
  5. # Netscape 4.x has some problems...
  6. BrowserMatch ^Mozilla/4 gzip-only-text/html
  7.  
  8. # Netscape 4.06-4.08 have some more problems
  9. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  10.  
  11. # MSIE masquerades as Netscape, but it is fine
  12. # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  13.  
  14. # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
  15. # the above regex won't work. You can use the following
  16. # workaround to get the desired effect:
  17. BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
  18.  
  19. # Make sure proxies don't deliver the wrong content
  20. Header append Vary User-Agent env=!dont-vary
  21. </Location>
Add Comment
Please, Sign In to add comment