Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. <IfModule mod_deflate.c>
  2. SetOutputFilter DEFLATE
  3. <IfModule mod_setenvif.c>
  4. # Netscape 4.x has some problems...
  5. BrowserMatch ^Mozilla/4 gzip-only-text/html
  6.  
  7. # Netscape 4.06-4.08 have some more problems
  8. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  9.  
  10. # MSIE masquerades as Netscape, but it is fine
  11. # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  12.  
  13. # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
  14. # the above regex won't work. You can use the following
  15. # workaround to get the desired effect:
  16. BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
  17.  
  18. # Don't compress images
  19. SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
  20. </IfModule>
  21.  
  22. <IfModule mod_headers.c>
  23. # Make sure proxies don't deliver the wrong content
  24. Header append Vary User-Agent env=!dont-vary
  25. </IfModule>
  26. </IfModule>
  27. RewriteEngine on
  28. RewriteCond %{HTTP_HOST} ^safesurvival.net [NC]
  29. RewriteRule ^(.*)$ http://www.safesurvival.net/$1 [L,R=301,NC]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement