[users@httpd] Running multiple daemons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

TIA.

Jason Lingel
jasonl@xxxxxxxx


--------------------

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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux