[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Token File?

From: Marco Ermini
Subject: Re: Token File?
Date: Tue, 31 Aug 2004 11:57:00 +0200 (CEST)
User-agent: SquirrelMail/1.4.3a-1

<quota chi="Kevin Sheen">
>  check process apache with pidfile /opt/apache_misc/logs/
>    group www
>    start program = "/etc/init.d/apache start"
>    stop  program = "/etc/init.d/apache stop"
>    if failed host port 80
>         protocol HTTP request /monit/token then restart
> Is there any documentation (or an example) of the above token file.  I'd
> like to keep my apache log file from being 'disturbed' by monit if
> possible.

This is very simple for a decent Apache administrator ;-)

In httpd.conf:

SetEnvIf        Request_URI "^\/monit\/token$" dontlog
CustomLog       logs/access.log common env=!dontlog

Marco Ermini
Dubium sapientiae initium. (Descartes)
address@hidden # mount -t life -o ro /dev/dna /genetic/research
<< This message is for the designated recipient only and may contain
privileged or confidential information. If you have received it in
error, please notify the sender immediately and delete the original.
Any other use of the email by you is prohibited. >>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]