|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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] I tried a couple variations of this syntax, and I have not come up with anything that has worked. PS- I do Rewrites based on referrals already, so my Apache server should not need any new modules. Thanks, Scott |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
* 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 |
|
![]() |
| Outils de la discussion | |
|
|