Results 1 to 4 of 4
I want to be able to configure apache to beep the system bell on my PC every time a web browser connects to my http server. The event could be ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-30-2003 #1Just Joined!
- Join Date
- Dec 2003
- Posts
- 3
Here's a GREAT Apache question for all you GURU'S !!
I want to be able to configure apache to beep the system bell on my PC every time a web browser connects to my http server. The event could be tied into retrieving a certain image, or it could be triggered via cgi. I am really stumped on this one. Any suggestions??
- 12-30-2003 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
AFAIK that is not a configuration option... I would imaging it is something you would need to code in to the apache source before compiling. tbh that is a VERY unusual request so i dont think your going to find a howto for it (disclaimer: i may be wrong).
Jason
- 12-31-2003 #3Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
There are ways to get apache to execute programs on every incoming connections thread...that can be used to execute a program or something to hit the computer bell.
Maybe that can be something??Regards
Andutt
- 01-16-2004 #4Linux User
- Join Date
- Jan 2003
- Location
- Cardiff, Wales
- Posts
- 478
why not use PHP
why not set the default page of your site to be PHP.
then find the linux command to ding the system bell.
inside index.php
put
Won't that work. (not sure myself)Code:<?php exec("path to system bell command"); ?>
It seems to simple but it would certainly run the program everytime someone accessed your home page. You could complicate this slightly if you wanted by using sessions to track the users and only dinging the bell if there isn't an active session.No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.


Reply With Quote
