Guest User

Untitled

a guest
Mar 27th, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css
  2.  
  3. #Gzip
  4. <ifmodule mod_deflate.c>
  5. AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
  6. </ifmodule>
  7. #End Gzip
  8.  
  9.  
  10. AddType application/zip .zip
  11. AddType application/x-gzip .gz
  12. AddType application/x-gtar .gtar
  13. AddType application/x-rar-compressed .rar
  14. AddType application/octet-stream .dmg
  15.  
  16. AddDefaultCharset utf-8
  17. SetEnv APPLICATION_ENV development
  18.  
  19. RewriteEngine On
  20.  
  21. #RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
  22. #RewriteRule ^(.*) http://%1/$1 [R=301,L]
  23. RewriteCond %{http_host} ^allepaznokcie.pl
  24. RewriteRule (.*) http://www.allepaznokcie.pl/$1 [R=301,L]
  25.  
  26. RewriteRule ^(public/) - [L]
  27.  
  28. RewriteCond %{REQUEST_FILENAME} -s [OR]
  29. RewriteCond %{REQUEST_FILENAME} -l [OR]
  30. RewriteCond %{REQUEST_FILENAME} -d
  31. RewriteRule ^.*$ - [NC,L]
  32. RewriteRule ^.*$ index.php [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment