httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lingel, Jason" <>
Subject [users@httpd] Running multiple daemons
Date Wed, 27 Apr 2005 22:27:05 GMT
I'm running apache 2.0.46 on linux and want to run multiple daemons.  One web site will be
the production site and the other will be the test site.  I want to run two daemons so I can
bring the test site up and down at will without impacting production and make config changes
for testing if needed.

I have two different ip addresses and use two different httpd.conf files, one pointing at
a different config. file, i.e.:

httpd -f /etc/httpd/conf/httpd-stage.conf

I can get these started well enough but I need to get them to autostart on reboot and the
/etc/init.d/httpd script only handles httpd.conf.  I created a separate /etc/init.d/httpd-stage
script but I'm having to hack at it and import and modify functions from the /etc/init.d/functions
script to make things work.  

It seems like this is a path that should be well-traveled but I haven't found much in the
newsgroups about it.  Has anybody seen this process documented anywhere or have any clues
about how to make it work other than hacking at the init scripts?


Jason Lingel


This email message is for the sole use of the intended recipient(s) and
may contain privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.

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