---------- Forwarded message ----------
From: Lestat Lincourt <lestat.df@gmail.com>
Date: 2008/11/24
Subject: Re: [mod-security-users] rule for specific request only
To: admin@beckspaced.com


You can try:
 
SecRule REQUEST_URI "modulo.php\?mod=guestbook$"
Lestat
 
2008/11/22 Administrator Beckspaced.com <admin@beckspaced.com>

dear all,

i enabled the comment spam rules modsecurity_crs_42_comment_spam.conf
with mod_security 2.5.x
but this rule also catches false positives in other applications!
so i would like to restrict these comment spam rules only to specific
requests ...

let's say the guestbook has the request of -> module.php?mod=guestbook

how can i restrict the comment spam rules to a specific request only?
i thought of a chain rule with REQUEST_URI 'mod=guestbook' ... etc ...
but it only gives me errors as i don't understand the syntax and
documentation is also hard to find ;-(

i got it worked with earlier mod_security version but since 2.x.x the
rule syntax changed quite a bit so i might need your help ;-)

thanks & looking forward to your reply

becki


--
Beckspaced.com - WebDesign, Hosting & Solutions

CEO Flederer Ralf

Marienplatz 9
97353 Wiesentheid
Germany
Phone: 09383-425

P.O. Box 15
Thongsala
84280 Koh Phangan
Suratthani / Thailand
Phone: 077-377 733
Mobile: 087-2828826

----------------------------------------------
Optimism is only a lack of information!
----------------------------------------------

WebDesign & Hosting - http://beckspaced.com - Are You Beckspaced?dear all,
Phangan Independent News - http://kohphangannews.org - The Awful Truth!


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mod-security-users mailing list
mod-security-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users