Playing Sounds For Apache Webserver Hits

  • Thread starter Thread starter Cyde Weys
  • Start date Start date
C

Cyde Weys

I really have no clue what n.g this belongs in, but it involves
hardware speakers, so maybe I can get some help from you guys.

Anyway, I'm running a webserver out of my dorm room. I think it'd be
cool to have the server play a sound every time my Apache webserver
serves up a page. I also have normal speakers and the oss sound module
installed, if that would be easier than the PC speaker. Anyone have a
clue how to get this to work?

Ohh yeah, I'm running Apache 1.3.26.something and RedHat Linux 9.
 
Cyde Weys said:
I really have no clue what n.g this belongs in, but it involves
hardware speakers, so maybe I can get some help from you guys.

Anyway, I'm running a webserver out of my dorm room. I think it'd be
cool to have the server play a sound every time my Apache webserver
serves up a page. I also have normal speakers and the oss sound module
installed, if that would be easier than the PC speaker. Anyone have a
clue how to get this to work?

Ohh yeah, I'm running Apache 1.3.26.something and RedHat Linux 9.

Try the Linux/Apache ng's, sounds like you might need to alter the Apache
source code as I've never heard of an app that does that. My guess would be
to find the routine that modifies the log file for each hit, and then add
something that does a sound. PC speaker is easiest, I remember making
Pascal programs that played songs on the PC speaker, you basically say
(proper syntax for given language required) play(440); delay(5);
play_stop();. This will get annoying VERY fast... be sure to post your URL
here if you get it working... :)
 
Back
Top