Guest User

Untitled

a guest
May 24th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. #Redirect 301 ^/$ /search.htm
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. #RewriteCond %{REQUEST_URI} !^/index\.htm
  8. #RewriteCond %{REQUEST_URI} !^/image\.htm
  9. #RewriteCond %{REQUEST_URI} !^/m\.htm
  10. #RewriteCond %{REQUEST_URI} !^/mi\.htm
  11. RewriteRule . /work.php [L]
  12. </IfModule>
  13. # HTML, TXT, CSS, JavaScript, JSON, XML, HTC:
  14. <ifmodule filter_module="">
  15. FilterDeclare COMPRESS
  16. FilterProvider COMPRESS DEFLATE resp=Content-Type $text/html
  17. FilterProvider COMPRESS DEFLATE resp=Content-Type $text/css
  18. FilterProvider COMPRESS DEFLATE resp=Content-Type $text/plain
  19. FilterProvider COMPRESS DEFLATE resp=Content-Type $text/xml
  20. FilterProvider COMPRESS DEFLATE resp=Content-Type $text/x-component
  21. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/javascript
  22. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/json
  23. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/xml
  24. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/xhtml+xml
  25. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/rss+xml
  26. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/atom+xml
  27. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/vnd.ms-fontobject
  28. FilterProvider COMPRESS DEFLATE resp=Content-Type $image/svg+xml
  29. FilterProvider COMPRESS DEFLATE resp=Content-Type $application/x-font-ttf
  30. FilterProvider COMPRESS DEFLATE resp=Content-Type $font/opentype
  31. FilterChain COMPRESS
  32. FilterProtocol COMPRESS DEFLATE change=yes;byteranges=no
  33. </ifmodule>
  34.  
  35. <ifmodule !mod_filter.c="">
  36. # Legacy versions of Apache
  37. AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
  38. AddOutputFilterByType DEFLATE application/javascript
  39. AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
  40. AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml
  41. AddOutputFilterByType DEFLATE application/atom+xml
  42. AddOutputFilterByType DEFLATE image/svg+xml application/vnd.ms-fontobject
  43. AddOutputFilterByType DEFLATE application/x-font-ttf font/opentype
  44. </ifmodule>
Add Comment
Please, Sign In to add comment