PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Reject Specific URL Attempts
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Reject Specific URL Attempts

Réponse
 
LinkBack Outils de la discussion
Vieux 09/02/2005, 15h58   #1
Scott Moseman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Reject Specific URL Attempts


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

  Réponse avec citation
Vieux 09/02/2005, 21h23   #2
André Malo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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

  Réponse avec citation
Vieux 09/02/2005, 21h39   #3
Scott Moseman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reject Specific URL Attempts

That appears to do the job. Thanks!

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h50.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07558 seconds with 11 queries