[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] triggering an event from serving a page?
- To: list@xxxxxxxxxxxxx
- Subject: Re: [LUG] triggering an event from serving a page?
- From: "Adrian Midgley (Gmail)" <amidgley@xxxxxxxxx>
- Date: Sun, 14 Feb 2010 13:16:27 +0000
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=W6HvNTN4934k7Sn7R9/4PfcibfY4zuZyTD9dAUmgyE0=; b=Ueu/Obp/CvIcArI5XlsTX+t35NUML3qIx4Kj+V049xoZyvyhB3fS2Q2RkmhwkUjMgr jvJHqoMshBofEHUSkUGNGb/Egg+bGm7rkZo2OJnTYTS2FqeW9FU3EnDAMosPDfuqeKqC jEOlaLpsj+jA0Pzmm9TjZQTtBfRS3naXO4W2k=
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