I am trying to do a rewrite condtition for one of those damn viruses that keeps filling up my logs. This is what I currently have:
RewriteCond %{REQUEST_FILENAME} (/root\.exe)|(/cmd\.exe)
RewriteRule ^(.*)$ - [F] #(Gives forbidden)
it workd if I type in /cmd.exe anywhere in the url, but they are still appearing in the log. Oneof the errors I get is:
File does not exist: /var/
if I type that in in the url, I get a not found error... what am I doing wrong?
and they end up there about 200+ time a day...
any clues?
B
RewriteCond %{REQUEST_FILENAME} (/root\.exe)|(/cmd\.exe)
RewriteRule ^(.*)$ - [F] #(Gives forbidden)
it workd if I type in /cmd.exe anywhere in the url, but they are still appearing in the log. Oneof the errors I get is:
File does not exist: /var/
if I type that in in the url, I get a not found error... what am I doing wrong?
and they end up there about 200+ time a day...
any clues?
B