Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
  4. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
  5. RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
  6. RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
  7. RewriteRule .* index.php [F]
  8.  
  9. RewriteBase /
  10.  
  11. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  12. RewriteCond %{REQUEST_URI} !^/index.php
  13. RewriteCond %{REQUEST_FILENAME} !-f
  14. RewriteCond %{REQUEST_FILENAME} !-d
  15. RewriteRule .* index.php [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement