> -----Original Message-----
> From: shahid [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 27, 2006 1:50 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Controlling an external program 
> using Apache
> 
> It is WINDOWS. In UNIX, it can be done by modfiying the 
> init.d scripts, but It needs to be done in windows. 
>  
> It is not possible by adding the dependencies in windows 
> service manager. That's why I wanted to know whether any 
> provision is available in Apache or not.

Luckily, apache is open-source. So either write a module, as Nick
suggests, or simply add a few steps to httpd.c to start and stop your
external process at the appropriate point.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>  
>  
>  
> Regards,
> Shahid
> 
>  
> On 11/27/06, Boyle Owen <[EMAIL PROTECTED]> wrote: 
> 
>       > -----Original Message-----
>       > From: shahid [mailto:[EMAIL PROTECTED] ]
>       > Sent: Monday, November 27, 2006 11:18 AM
>       > To: users@httpd.apache.org
>       > Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
>         "   from the digest: 
> [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]> 
>       For additional commands, e-mail: [EMAIL PROTECTED]
>       
>       
> 
> 
> 

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to