httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Gregory <>
Subject [users@httpd] Re: Close apache console from XP/2003/Vista
Date Thu, 28 May 2009 13:07:52 GMT
Thanks for this, I had tried the GenerateConsoleEvent api before without 
success, although reading that page the author is creating a remote 
thread to call the api from within the Apache process rather than 
externally so I'll play around with that.


Eric Covener wrote:
> On Thu, May 28, 2009 at 7:19 AM, Matthew Gregory
> <> wrote:
>> My question is this: how can I gracefully close apache? The docs say to use
>> "httpd -k stop" but on our target platforms this always tries to stop the
>> service but we are actually running as a console. There is mention of using
>> kill on unix but I cannot find a suitable windows equivilant.
> I've used e a little windows utility, SendSignal.exe, to send
> cntrl-break to a similar a program in some automation.
> Unfortunately it didn't look like any of the sysinsternals tools would
> do it, but I may have just missed it.

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