Re: [mod-security-users] Log and Redirect
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2005-06-22 16:39:24
|
Christian Martorella wrote:
> Hi all, somebody knows if it is possible for a rule to redirect and log?
> I was trying but i could'nt my rules where like these:
>
> SecFilterSelective ARG_login ".{12,}" "log,redirect:http://www.mypage.com/"
>
> or
>
> SecFilterSelective ARG_login ".{12,}" "redirect:http://www.mypage.com/,log"
Which Apache + mod_security are you using?
This is what I get with Apache 2.x and 1.8.7:
SecFilter 111 log,redirect:http://www.modsecurity.org
[Wed Jun 22 17:37:20 2005] [error] [client 192.168.2.11] mod_security:
Access denied with redirect to [http://www.modsecurity.org]. Pattern
match "111" at THE_REQUEST [hostname "192.168.2.101"] [uri "/111"]
--
Ivan Ristic
Apache Security (O'Reilly) - http://www.apachesecurity.net
Open source web application firewall - http://www.modsecurity.org
|