Hallo!
Ist es irgendwie möglich unter openSUSE 10.3 bei jedem http-aufruf ein sh-script auszuführen? In diesem script sind die jeweiligen befehle für den beep-befehl drin.
Über php habe ich es über shell_exec('./beep.sh') gemacht, aber wenn jemand einen direkten link auf eine datei hat welche nicht mit php geöffnet wird, beeps leider nicht.
Ps: Das ist mein erster Beitrag in diesem Forum :)
Beep bei jeder Apache-Aktivität ausgeben
-
- Posts: 139
- Joined: 2005-09-22 23:09
Re: Beep bei jeder Apache-Aktivität ausgeben
http://httpd.apache.org/docs/2.2/mod/mo ... rewritemap (External Rewriting Program) Da bremst der Programaufruf allerdings die HTTP Antwort auf.
http://httpd.apache.org/docs/2.2/mod/mo ... #customlog (Log Pipe) Da mußt du dein Programm umschreiben das die Standardeingabe ließt und bei jeder neuen Zeile piept. Google hat kennt natürlich auch schon was fertiges: http://soomka.com/
http://httpd.apache.org/docs/2.2/mod/mo ... #customlog (Log Pipe) Da mußt du dein Programm umschreiben das die Standardeingabe ließt und bei jeder neuen Zeile piept. Google hat kennt natürlich auch schon was fertiges: http://soomka.com/
Re: Beep bei jeder Apache-Aktivität ausgeben
Vielen Dank für den Tipp, CustomLog finde ich super!
=D>
CustomLog "|/srv/www/vhosts/beep_log.sh" vcommon
=D>
CustomLog "|/srv/www/vhosts/beep_log.sh" vcommon
-
- Project Manager
- Posts: 11185
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Beep bei jeder Apache-Aktivität ausgeben
Sinn des Ganzen?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Administrator
- Posts: 2641
- Joined: 2004-01-21 17:44
Re: Beep bei jeder Apache-Aktivität ausgeben
GEMA- und GEZ-freies Entertainment-System für's RZ *scnr* 8)Joe User wrote:Sinn des Ganzen?
-
- Project Manager
- Posts: 11185
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Beep bei jeder Apache-Aktivität ausgeben
YMMD :D/
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.