|
Home > Archive > Apache Server configuration support > November 2006 > Controlling an external program using Apache
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Controlling an external program using Apache
|
|
| Shahid 2006-11-27, 7:24 am |
|
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 wanted to know whetner any provision is available in Apache or not.
Please let me know if they is any way to achieve this requirement.
Your help will be really appreciated.
Looking for early responses.
Thanks & Regards,
Shahid
| |
| Davide Bianchi 2006-11-27, 7:24 am |
| On 2006-11-27, Shahid <s.shaheed@gmail.com> wrote:
> I wanted to know whetner any provision is available in Apache or not.
No. You can, however, change the standard start/stop script to do it.
Davide
--
Beat me, whip me, make me use Windows!
| |
| shimmyshack 2006-11-27, 1:19 pm |
| The only thing I can think of is logging scripts, if you pipe a logfile
to an executable it will be started by apache if it stops, (so the
logging is reliable) you could use this feature to help you here.
|
|
|
|
|