DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25484>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25484





------- Additional Comments From [EMAIL PROTECTED]  2007-12-22 19:05 -------
We had a deadline that passed long ago & ended up working around this by writing
a trivial .exe that accepts -f and -k command line options (that have the same
meaning as the corresponding apache command line options), finds the PidFile
line in the apache config file, reads the pid file, then calls SetEvent() on the
event indicated by the pid and the -k parameter.  It's been awhile, but IIRC the
majority of this logic was copied from the code that made this work in 1.3.  I
looked at reincorporating this function into the 2.x base, but schedules were
tight & it was quicker to write a standalone .exe.

As I said, we worked around this problem long ago so I don't really have a
strong interest in how this bug is addressed.  If there is any interest in our
little hack, the company I work for contributes pretty regularly to the Apache
web server & I can't imagine they would mind making the source for our simple
.exe available if I asked.

(In reply to comment #8)

> Sending a control C event to the console will terminate apache.  If you were
> running five of them, how do you suppose -k stop would know which to shut 
> down?

By consulting the -f parameter (see description above).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to