I normally don't do this - haven't got any traction on taroon list and I want to get a backup going. I have an RHEL 3 server and it is serving some simple web stuff (horde/imp/etc.) I have installed BrightStor ArcServe and I need it to also serve some web pages. The ArcServe runs on a different port but has it's own httpd.conf with the distribution. The last time I did it, it was the only web pages I needed to serve on the system so it was easy enough to just replace the default /etc/httpd/conf/httpd.conf with the supplied httpd.conf from ArcServe This time, I can't do that so I guess that I want to run another instance of httpd, with the alternate httpd.conf file which I can do by copying /etc/rc.d/init.d/httpd and altering the copy to use the ArcServe config file. Is this the right way to handle this? Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On 10/7/05, Craig White <craigwhite at azapple.com> wrote:> This time, I can't do that so I guess that I want to run another > instance of httpd, with the alternate httpd.conf file which I can do by > copying /etc/rc.d/init.d/httpd and altering the copy to use the ArcServe > config file. > > Is this the right way to handle this? >Seems reasonable to me. You know that you can use multiple config files for httpd right? The command line arguments to apache include -f /path/to/httpd.conf Greg
On Fri, 2005-10-07 at 18:58, Craig White wrote:> I have installed BrightStor ArcServe and I need it to also serve some > web pages. The ArcServe runs on a different port but has it's own > httpd.conf with the distribution. > > The last time I did it, it was the only web pages I needed to serve on > the system so it was easy enough to just replace the > default /etc/httpd/conf/httpd.conf with the supplied httpd.conf from > ArcServe > > This time, I can't do that so I guess that I want to run another > instance of httpd, with the alternate httpd.conf file which I can do by > copying /etc/rc.d/init.d/httpd and altering the copy to use the ArcServe > config file. > > Is this the right way to handle this?That will work, but it is unnecessarily drastic unless the httpd instance has to run under a different user id. Apache can be configured to handle many different virtual servers distinguished by IP address, port number, and/or hostname. If you don't need a different uid, the easy way is to add a DNS CNAME pointing to the other name, convert your existing site to a named virtual host, then add this and as many other names with corresponding server configurations as you need as additional named vhosts. -- Les Mikesell lesmikesell at gmail.com