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?

 

The cool way:
<?php exec("beep"); ?>
might work nicely.

If you have no PHP:
tail -f /var/log/apache/access.log
should start you off (it prints the pages accessed).
Pipe it through grep for the page you want...
Except I don't know how to beep when some standard output is displayed
but it should help you start off.


On 13 February 2010 23:09, Adrian Midgley (Gmail) <amidgley@xxxxxxxxx> wrote:
> If I want something to happen each time a particular web page is called
> forth from my Apache server on this Debian box, for instance the
> loudspeaker to go "beep", what is the most appropriate way to approach
> making this happen, please?
>
>
> --
> 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
>



-- 
Dan Dart
_____
Need a website? Want some music tailored to you? Visit http://www.dandart.co.uk

-- 
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