2 httpd configs

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



On Fri, 2005-10-07 at 22:13, Craig White wrote:

> It may be possible to run as a virtual server but it appears that I
> would have to do a bunch of mucking around since it is supposed to run
> under a different user id.

If it all runs as a cgi-program you can make it setuid, but
you are probably better off with 2 instances.

> I am trying to figure out how to run multiple httpd.conf and haven't had
> much success either by creating /etc/sysconfig/httpd...
> # cat /etc/sysconfig/httpd
> # multiple configs
> OPTIONS="-f /etc/httpd/conf/httpd.conf \
> -f /opt/CA/BrightStorARCserve/httpd/conf/httpd.conf"
> 
> or
> OPTIONS="-f /etc/httpd/conf/httpd.conf \
> /opt/CA/BrightStorARCserve/httpd/conf/httpd.conf"
> 
> and I also tried 
> cp /etc/rc.d/init.d/httpd /etc/rc.d/init.d/httpd-bab
> and changing pid and /var/lock/subsys and conf references but it won't
> launch
> 
> ;-(
> 
> so I'm pretty much where I started

I think the last time I did that (years ago...) I ended
up symlinking a new program name:
ln -s /usr/bin/httpd /usr/bin/httpd-bab
and changing the references inside the copied
init script to use the other name, but
I can't remember why now.

-- 
  Les Mikesell
    lesmikesell@xxxxxxxxx



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux