httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Brown <seanmichaelbr...@gmail.com>
Subject [users@httpd] Multiple instances bound to separate IPs?
Date Tue, 25 Oct 2005 20:25:14 GMT
Is it possible to run two separate instances of Apache, both on port
80, but each bound to a different IP?  So, for instance one, I'd have
this in the httpd.conf:

Listen 192.168.1.1:80

And in the other, I'd have have:

Listen 192.168.1.2:80

If I started each with a specification of configuration file, would it
work, or would I get an error about a service already bound to port
80?  I'd start them like so

/usr/local/apache2/bin/httpd -f /usr/local/apache2/conf/httpd.conf -k start
/usr/local/apache2_php5/bin/httpd -f
/usr/local/apache2_php5/conf/httpd.conf -k start

Thanks in advance,

Sean

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message