Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # protect from sql injection
- Options +FollowSymLinks
- RewriteEngine On
- RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
- RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
- RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
- RewriteRule ^(.*)$ index.php [F,L]
- add the code to .htaccess file.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement