stopping seperate (apache) httpd instances



Long story cut short...

apache 2.2.22 on centos 5.8

we need to run two instances in parallel, each with its own httpd.conf
(this seperates out different sites so stopping one doesn't stop the
other).

We would rather not have two totally seprate intalls of apche on the
same box to manage this, preferring to use a single apache instance
with two different httpd.confs

However, whilst

httpd -f 1-httpd.conf -k start starts one instance OK, and
httpd -f 2-httpd.conf -k start errors saying that httpd is
already running

I also note that if httpd -f 1-httpd.conf -k start is "running",

httpd -f 2-httpd.conf -k stop stops ALL the instances of
httpd.conf.

Is it possible to achieve what we want from a single instance of
apache?

(I can't find a dedicated apache usenet forum hence asking it here)

cheers

ian
.



Relevant Pages

  • Apache Cant See Files & Dirs Created in /home
    ... The system is a dedicated server leased from an ISP. ... Starting httpd: httpd: could not open document config file /home/extra.conf ... files created outside of /home can be seen anywhere by Apache, ...
    (linux.redhat)
  • Re: STARTING apache or httpd
    ... Kumar, Praveen (cahoot) ... Subject: STARTING apache or httpd ... electronic and hard copies of the communication, ...
    (AIX-L)
  • Re: 8.2 + apache == a LOT of sigprocmask
    ... 74195 httpd 0.000017 RET sigprocmask 0 ... 74195 httpd 0.000013 CALL sigprocmask ... Quick grep of the apache httpd source shows a single setjmpin their ... attach to the running apache worker with the gdb and ...
    (freebsd-stable)
  • [Full-Disclosure] [FLSA-2004:2068] Updated httpd packages fix security issues
    ... Updated httpd packages that include fixes for security issues are now ... A remotely triggered memory leak in the Apache HTTP Server earlier than ...
    (Full-Disclosure)
  • Re: 8.2 + apache == a LOT of sigprocmask
    ... 74195 httpd 0.000017 RET sigprocmask 0 ... 74195 httpd 0.000013 CALL sigprocmask ... Quick grep of the apache httpd source shows a single setjmpin their ... attach to the running apache worker with the gdb and ...
    (freebsd-stable)