Advertisement
Guest User

Untitled

a guest
Jan 25th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. order allow,deny
  2. deny from 37.138.40.58
  3. allow from all
  4. Options -Indexes
  5. <IfModule mod_rewrite.c>
  6. RewriteEngine On
  7. RewriteRule ^user/([^/]+)/?$ user.php?user=$1 [L,QSA]
  8.  
  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. RewriteRule ^(.*)$ /serve.php/$1 [L]
  12.  
  13. AllowOverride None
  14.  
  15. RewriteCond %{HTTP_USER_AGENT} ^WebBandit [OR]
  16. RewriteCond %{HTTP_USER_AGENT} ^2icommerce [OR]
  17. RewriteCond %{HTTP_USER_AGENT} ^Accoona [OR]
  18. RewriteCond %{HTTP_USER_AGENT} ^ActiveTouristBot [OR]
  19. RewriteCond %{HTTP_USER_AGENT} ^addressendeutshland
  20. RewriteRule ^.* - [F,L]
  21. </IfModule>
  22.  
  23. ErrorDocument 403 /errors/403.html
  24.  
  25. <IfModule mod_expires.c>
  26. ExpiresActive On
  27. <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|js|css|gif|jpg|jpeg|swf)$">
  28. ExpiresDefault A29030400
  29. </FilesMatch>
  30. </IfModule>
  31.  
  32. <ifModule mod_gzip.c>
  33. mod_gzip_on Yes
  34. mod_gzip_dechunk Yes
  35. mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
  36. mod_gzip_item_include handler ^cgi-script$
  37. mod_gzip_item_include mime ^text/.*
  38. mod_gzip_item_include mime ^application/x-javascript.*
  39. mod_gzip_item_include mime ^image/.*
  40. mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  41. </ifModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement