> -----Original Message----- > From: shahid [mailto:s.shaheed@xxxxxxxxx] > Sent: Monday, November 27, 2006 11:18 AM > To: users@xxxxxxxxxxxxxxxx > Subject: Controlling an external program using Apache > > I am a newbie. > > > I have the following requirements with Apache 2.2. > > > 1) An executable needs to be started when Apache has started > 2) The same executable needs to be stopped when Apache is going to > shutdown. > > > I would like to know whether any provision is available in > Apache configuration or not. Not in the config. > Please let me know if they is any way to achieve this requirement. Which OS? I assume Unix... Edit the apachectl script and put in a couple of lines line to start/stop your program at the same time as apache. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > Your help will be really appreciated. > > > Looking for early responses. > > > Thanks & Regards, > Shahid > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx