Skip or minimise Apache log phase

2008-10-08 Thread André Warnier
Hi. Following a message posted on the Apache users list, I am just curious if via mod_perl there could be a solution to the following issue : A busy Apache server (with several VirtualHosts, why not ?) is being accessed from internal network clients (IP address 192.168.*) as well as by exter

Re: Skip or minimise Apache log phase

2008-10-08 Thread Vegard Vesterheim
On Wed, 08 Oct 2008 14:32:26 +0200 André Warnier <[EMAIL PROTECTED]> wrote: > Hi. > > Following a message posted on the Apache users list, I am just curious > if via mod_perl there could be a solution to the following issue : > > A busy Apache server (with several VirtualHosts, why not ?) is being

Re: Skip or minimise Apache log phase

2008-10-08 Thread André Warnier
Vegard Vesterheim wrote: CustomLog env=!is_googlebot See also: http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#customlog - Vegard V - That looks just too easy to be true.. But I believe you of course, and Thank

Re: Skip or minimise Apache log phase

2008-10-08 Thread Graham TerMarsch
On Wednesday 08 October 2008, André Warnier wrote: > Vegard Vesterheim wrote: > > CustomLog env=!is_googlebot > > > > See also: > > http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html > > http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#customlog > > > > - Vegard V - > > T

Re: Skip or minimise Apache log phase

2008-10-08 Thread Fred Moyer
André Warnier wrote: Vegard Vesterheim wrote: CustomLog env=!is_googlebot See also: http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#customlog - Vegard V - That looks just too easy to be true.. But I believe you

Re: Skip or minimise Apache log phase

2008-10-08 Thread Fred Moyer
André Warnier wrote: Fred Moyer wrote: André Warnier wrote: Thanks for the answer and the above code. But what about the following ? http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler quote [...] it simply returns Apache2::Const::DECLINED, letting other log handlers to d

Re: Skip or minimise Apache log phase

2008-10-08 Thread Hendrik Van Belleghem
Hi André, If you're looking into the mod_perl approach, you might want to have a peek at Apache::LogIgnore. I developed the module for Apache v1 and haven't tested it on v2 but it might be a good place to start. http://search.cpan.org/~beatnik/Apache-LogIgnore-0.03/ HTH Hendrik 2008/10/8 André

Re: Skip or minimise Apache log phase

2008-10-09 Thread André Warnier
Hendrik Van Belleghem wrote: Hi André, If you're looking into the mod_perl approach, you might want to have a peek at Apache::LogIgnore. I developed the module for Apache v1 and haven't tested it on v2 but it might be a good place to start. http://search.cpan.org/~beatnik/Apache-LogIgnore-0.03/