Max Taxable
The Wyatt Earp of Anti-Spam
Get and use Notepad++Im on a mac, using 'TextEdit'
Get and use Notepad++Im on a mac, using 'TextEdit'
Get and use Notepad++
# Measures to block out SQL injection attacks
RewriteCond %{QUERY_STRING} ^.*(;|<|>|'|"|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|
update|md5|benchmark).* [NC,OR]
# Measures to block out SQL injection attacks
RewriteCond %{QUERY_STRING} ^.*(;|<|>|'|"|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|update|md5|benchmark).* [NC,OR]
Yeah I think something went wonky in the editor when I added it. I adjusted it in the first post.![]()
Glad to hear it helped ya.Sound advice. I just added it to the end of the htaccess to be sure and it looks like that was the correct choice. What a great code. I'm noticing a lot faster load times for my site now.
You might have to create it.SᴩiDᴇЯ;23865 said:i don't see my htaccess in my cPanel
Ok well, you just create a .txt document and load the code on that. Name it "htaccess.txt." Upload this to the root of your server, then re-name it ".htaccess"SᴩiDᴇЯ;23867 said:yes using centos