Forum Moderators: phranque

Message Too Old, No Replies

mod security 2 (specific rule question)

         

whoo

8:12 am on Mar 29, 2008 (gmt 0)

10+ Year Member



I have a very specific 2 line rule that I have been using for some time with Apache 1.3.x/mod_security-1:

SecFilterSelective REQUEST_URI "^/input.php" chain
SecFilterSelective POST_PAYLOAD "!word" "redirect:http://www.domain.com/help/help.html"

Ive since jumped up to Apache2/mod_security-2 and am having a little trouble migrating that rule. This is what I have:

SecRule REQUEST_URI "^/input.php" chain
SecRule ARGS¦REQUEST_BODY¦REQUEST_URI "!word" "redirect:http://www.domain.com/help/help.html"

Anyone have any ideas as to why this isnt working?