Re: Logging server response

Christian Folini <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <20181018175823.GC10516@leander>
Todor,

Your pastebin is now gone, but it feels as if your RewriteRule would ahve
apache stop all further execution of the request. This bypasses ModSec
and immediately sends out the response. This is also the case when you
encounter a local 404 as an example.

Best,

Christian

On Thu, Oct 18, 2018 at 05:40:25PM +0300, Todor Petkov wrote:
> Hello,
> 
> I am trying to set up modsecurity 2.9.2 to log requests/response on
> Apache 2.4.6. My config is https://pastebin.com/wAZJwecy. When there
> is mod_rewrite rule to forward to index.php, it does not log the
> response, even if I open directly http://server/index.php instead of
> http://server. If I remove the
> mod_rewrite lines from .htaccess, the logging is fine. Has anyone run
> into such scenario?
> 
> 
> Regards
> 
> 
> _______________________________________________
> mod-security-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mod-security-users
> Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
> http://www.modsecurity.org/projects/commercial/rules/
> http://www.modsecurity.org/projects/commercial/support/


_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.