httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Turner <>
Subject Re: [users@httpd] Program Execution during Apache Startup
Date Wed, 18 Dec 2002 23:22:24 GMT
Hans Zaunere wrote:

>Is there a way in either 1.3.x or 2.0.x to have a program run when Apache
>starts, or even stops?  I have some external software that I need to init
>(and possibly shutdown) with Apache.
>I know that I could hardcode something into bin/apachectl but I'd much rather
>have it setable in httpd.conf (and even per virtual host, if possible).  The
>closest directive I've been able to find is LoadFile, but this doesn't look
>to be exactly what I need.
>Ideally, I'd like to be able to run an external shell script (or even binary
>if need be) on Apache startup (shutdown would be nice, but not nessecary).

Just for the sake of starting the conversation,  couldn't you wrap this
in a script? eg.:

	dosomething && dosomethingelse && apachectl

 If someone tells you---
 "I have a sense of humor, but that's not funny." 
                                  ---they don't.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message