httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: Tokenizing httpd.conf
Date Tue, 26 Mar 2002 17:06:22 GMT

On Tue, 26 Mar 2002, Max Clark wrote:
> Is there a way in the configuration file that instead of defining the IP
> address for the Virtual host, that I could define the Ethernet interface
> instead, and have apache bind to whatever IP was on that interface? I.e.
> instead of placing "10.2.1.12" in the configuration file, using "eth0:1"
> instead? This would allow me to use a single configuration file that I could
> track revisions on, instead of the individual customizations per server that
> I am forced to perform today.

Not that I know of.  But you can use hostnames in place of the IP
addresses.  Just be sure that you can guarentee that the hostname lookup
will never fail.  See:
http://httpd.apache.org/docs/dns-caveats.html

Joshua.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message