httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Clark <max.cl...@ussearch.com>
Subject RE: Tokenizing httpd.conf
Date Tue, 26 Mar 2002 17:22:11 GMT
Okay... but I have a Firewall in front of a load balancer in front of the
web servers. So I have a Static ip on the firewall, which needs to be in the
httpd.conf, and I have the private ip address of the server in the
httpd.conf listed in the virt configuration. I wasn't able to get this to
work right without the private IP listed. Was I just missing something with
my configuration? because if I can do this with only the external static ip
I think everything would be fine.

-Max

-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Tuesday, March 26, 2002 9:06 AM
To: 'users@httpd.apache.org'
Subject: Re: Tokenizing httpd.conf



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

---------------------------------------------------------------------
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