httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Multiple apache instances
Date Tue, 16 Aug 2005 15:13:18 GMT
On 8/16/05, Spike Burkhardt <burkhardt.richard@ssd.loral.com> wrote:
> Joshua & all,
> 
>   When I specified the configuration file the instance I wanted to kill
> still didn't stop.  In fact, it stopped the other instance!  Also, at
> least on my box, '-k' isn't a valid option. 

I didn't notice you were using such an old version.  The command I
quoted works in 2.x.

For your version, you need to use the other technique I mentioned
(killing the process listed in the pid file).  If you open up
apachectl in an editor, you'll note that this is exactly what it is
doing.  But it has a hard-coded path to the config file for your first
server.  You could easily edit apachectl to make a "stop2" option
which would get the pid from the appropriate file for the second
server.

This is, by the way, documented at
http://httpd.apache.org/docs/1.3/stopping.html

Joshua.

---------------------------------------------------------------------
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