Advertisement
Guest User

Untitled

a guest
Dec 6th, 2017
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. Options +ExecCGI
  2. AddType application/x-httpd-cgi .cgi
  3. SetOutputFilter DEFLATE
  4. BrowserMatch ^Mozilla/4 gzip-only-text/html
  5. BrowserMatch ^Mozilla/4\.0[678] no-gzip
  6. BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
  7. SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|dat)$ no-gzip dont-vary
  8. Header append Vary User-Agent env=!dont-vary
  9. AddType text/plain .dat
  10. <Files ~ "^\.ht">
  11. deny from all
  12. </Files>
  13. # AccessControl IP/HOST
  14. order allow,deny
  15. allow from all
  16. deny from tor
  17. deny from scaleway
  18.  
  19. SetEnvIfNoCase User-Agent "gaiji" ua_key=on
  20. SetEnvIfNoCase User-Agent "PlayStation" ua_key=on
  21. SetEnvIfNoCase User-Agent "scaleway" ua_key=on
  22. SetEnvIfNoCase User-Agent "hasekara" ua_key=on
  23.  
  24. RewriteEngine On
  25.  
  26. RewriteCond %{ENV:ua_key} on
  27. RewriteRule ^(.*)$ - [F,L]
  28.  
  29.  
  30. # AccessControl referer
  31. SetEnvIf Referer "^http://server2\.kproxy\.com" chk_url
  32. SetEnvIf Referer "^https://server2\.kproxy\.com" chk_url
  33.  
  34. order allow,deny
  35. allow from all
  36. deny from env=chk_url
  37.  
  38.  
  39. # AccessControl IP/HOST
  40. order allow,deny
  41. allow from all
  42. deny from 121.85.45.254
  43. deny from 125.48.5.65
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement