Re: Reject Specific URL Attempts
* Scott Moseman wrote:
> I want to reject any URL request that contains
> the character string "252Esystem". My goal is
> to block all these hack attempts on my phpBBs,
> since all they do is suck up bandwidth. I have
> not had any luck getting my Apache to fail them.
>
> RewriteEngine on
> RewriteRule (.*)252Esystem(.*) - [F]
Those (.*) parts are superfluous.
> I tried a couple variations of this syntax, and
> I have not come up with anything that has worked.
Well, probably, because RewriteRule doesn't match the query string (I'd
guess, that what you're looking for is in the query string).
RewriteCond %{QUERY_STRING} 252Esystem
RewriteRule ^ - [F]
nd
--
Gib' mal folgendes in die Kommandozeile ein (und einen Moment warten):
net send localhost "Buuuh!"
Na, erschreckt? -- Markus Becker in mpdsh
|