Yes, you can[1]; you'll need to use different port numbers (or limit them to
different IP addresses) and there is a PID file (or lock file, I cannot
remember at the moment) that has to be different. The only changes you need
are in the configuration and startup scripts.
[1] We have an OpenSSO
bob wrote:
Just give the servers different names. apache2 and
apache2-different_port. Means you have to compile each server with that
name and your server with the not 80 address will have a different
Listen port in the httpd.conf file.
Compiling individually is not necessary. We run dozens
Did you miss out on the VirtualHost * file?? With this, you only need
one server to serve all of those hosts. They all will have same port
numbers and you don't have to play with the PID file. I've been serving
multiple hosts for years.
- Paul
Tommy M. McGuire wrote:
Yes, you can[1];
What is the reason that you want two instances of the server running on two
different ports? Perhaps using virtual servers will resolve your issue?
John
On Mon, Feb 22, 2010 at 2:09 PM, Aruna Gummalla aruna_gumma...@yahoo.comwrote:
Hi,
Can I have 2 httpd servers running on 2 different
On Mon, Feb 22, 2010 at 2:09 PM, Aruna Gummalla aruna_gumma...@yahoo.comwrote:
Hi,
Can I have 2 httpd servers running on 2 different ports?
Sure. You'll want to create a new configuration file and start Apache using
that configuration file. You can run Apache by hand, or you can copy
Hi,
Can I have 2 httpd servers running on 2 different ports? If so, what is the
configuration change that i need to do.
I tried running apachectl start with different port numbers in httpd.conf. But
it says httpd already running.
Please let me know. Thanks in advance.
Thanks Regards,
Aruna.
Just give the servers different names. apache2 and
apache2-different_port. Means you have to compile each server with that
name and your server with the not 80 address will have a different
Listen port in the httpd.conf file. Start the server with