httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Gregory <matthew+apa...@nogsnet.com>
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.

Thanks,
Matt

Eric Covener wrote:
> On Thu, May 28, 2009 at 7:19 AM, Matthew Gregory
> <matthew+apache@nogsnet.com> 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.
> 
> http://www.latenighthacking.com/projects/2003/sendSignal/
> 
> 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: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