D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] triggering an event from serving a page?

 

On Sat, 2010-02-13 at 23:54 +0000, Simon Waters wrote:

> ... log to a pipe.

>  hack apache logfile to do something like.
> 
> CustomLog "| tee /var/log/apache2/blahblah.log | grep 'regexptomatch' |
> beep -s >/dev/null"

This is clearly the more serious approach, which can detect that a 1
pixel PNG has been called for another page.


I'll play.




-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html