LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=29)
-   -   Help with request filter (http://www.litespeedtech.com/support/forum/showthread.php?t=3781)

rsmith 02-11-2010 12:27 PM

Help with request filter
 
1 Attachment(s)
Hey all,

I'm having some trouble blocking a POST request. I have zero mod security experience, but that's how the request filter works from what I understand. The attached screen shot says it all. The goal is to deny any POST request string containing "search-request.php". Thanks for taking the time; much appreciated.

Robert

NiteWave 02-13-2010 10:12 PM

Have you set:
Server-->Request Filter-->Enable Request Filtering:Yes

rsmith 02-15-2010 01:26 AM

Yes, I have enabled Request Filtering.

mistwang 02-15-2010 12:26 PM

You need to use a "chain" rule
http://www.modsecurity.org/documenta...ce.html#N11798

or use rewrite.


All times are GMT -7. The time now is 01:52 PM.