httpd-users mailing list archives

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

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


--
gt                  kk5st@sbcglobal.net
 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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message