Ivan, I can't use such thing.
I have hundreds of virtual hosts and can't add this "CustomLog ..." to each
of them.
Additionally I need to preserve current CustomLog setting for each
VirtualHost.
So I need to add additional logging for all requests by regexp of URL.
Also I need to preserve existing mod_security logging.
What should I place to the mod_security, is it allowed to have different
mod_security logging for different conditions?
Alexey.
-----Original Message-----
From: Ivan Ristic [mailto:iv...@we...]
Sent: Monday, January 03, 2005 15:17
To: Tkachenko Alexei
Cc: mod...@li...
Subject: Re: [mod-security-users] Log question
Tkachenko Alexei wrote:
> Peace be with you,
>
>
> I'd like to log all php and perl requests in different logs in
> addition to my usual mod_security logging.
All requests? You can do that without mod_security. Something like
this should work:
SetEnvIf Request_URI (\.php|\.phtml|/)$ dynamic
CustomLog logs/b92.log combined env=dynamic
--
Ivan Ristic (http://www.modsecurity.org)
|