commands to set up a second apache to act as http server?
am 04.01.2008 10:09:23 von Bennett HaseltonIf I have a Linux box already running Apache as a regular http server,
are there some simple commands that I can run to set up a second copy
of Apache on the same machine that would listen on a different port
and act as an http proxy server? (Which for security I could then set
up to accept only connections from certain IP addresses, by editing
httpd.conf.) Ideally the two copies of Apache would not interfere
with each other except to the extent that they shared the same CPU.
Or is there no simple way to take a machine with one copy of Apache
installed on it, and clone it to a second copy of Apache installed on
the same machine? Would I have to go through a full second Apache
installation? (The more steps involved, the greater the chance of an
error...) And then it seems it could get complicated if you want them
to be installed as two separate services that can be stopped and
started independently of each other -- the second installation is
going to want to default to be called "httpd" just like the first one,
so is there a way to change that, and to resolve other problems you'd
run into?
-Bennett