LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Adam W <woja@optushome.com.au>
To : Wayne Simes <wlsimes@tell.net.au>
<linuxsa@linuxsa.org.au>
Date: Sun, 3 Jun 2001 21:31:21 +1000
RE: Runing two copies of Apache
If i am correct - there is no need for running two - you can just set it up
so when it requests IP#1 it shows one docroot and when it requests IP#2 it
shows the other docroot.
This is well documented - www.apache.org
Adam W.
> -----Original Message-----
> From: Wayne Simes [mailto:wlsimes@tell.net.au]
> Sent: Sunday, 3 June 2001 9:07 PM
> To: linuxsa@linuxsa.org.au
> Subject: Runing two copies of Apache
>
>
> Hi
>
> Skipping all of the gory details, I am trying to running a second copy of
> Apache which will be serving a different IP number to the first.
> I have set
> up a second copy of the configuration and log file directories,
> server root,
> document root and the rest that goes with it. I have made all of the
> necessary changes to the config file.
>
> I have also created a second file in /etc/rc.d/init.d, instead of
> the usual
> httpd I have called the second httpd2. I have modified a couple of lines
> within this file, one of tose lines now points to the second httpd.conf
> file.
>
> I can start Apache with either /etc/rc.d/init.d/httpd or
> /etc/rc.d/init.d/httpd2
> and either will run perfectly when run individually, but if I try to start
> one after the other (before stoping the previous) it appears as though it
> sees a
> previous version of httpd running, and just exits, no error messages,
> nothing in any
> of the logs.
>
> But, I can start either one, and then the next by command line,
> ie; /usr/sbin/httpd -f /etc/httpd2/conf/httpd.conf
> and then they both run fine together.
>
> It seems like when I start the second copy, it realises there is
> already one
> running and then exits.
>
> Has anyone else on the list come across this problem ?
>
> If so, how did you get around it ?
>
>
> Thanks in Advance.
>
> Wayne
>
>
>
>
> --
> LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
> To unsubscribe from the LinuxSA list:
> mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
>
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page