You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Al Sparks <da...@yahoo.com> on 2010/05/13 01:52:36 UTC
[users@httpd] Pages not coming up
I've configured a 2.0.63 server running on CentOS 5.x with the following parameters:
Listen 10.254.250.100:80
Listen 10.254.250.165:80
Listen 10.254.250.166:80
Listen 10.254.250.167:80
In addition, I have the following virtual hosts defined.
<VirtualHost 10.254.250.100:80>
ServerAdmin webmaster@www.host1.com
DocumentRoot /www/docs/www.host1.com
ServerName www.host1.com
ServerAlias host1.com
ErrorLog /var/log/www.host1.com-error_log
CustomLog /var/log/www.host1.com-access_log common
</VirtualHost>
<VirtualHost 10.254.250.165:80>
ServerAdmin webmaster@www.host2.com
DocumentRoot /www/docs/www.host2.com
ServerName www.host2.com
ServerAlias host2.com
ErrorLog /var/log/www.host2.com-error_log
CustomLog /var/log/www.host2.com-access_log common
</VirtualHost>
<VirtualHost 10.254.250.166:80>
ServerAdmin webmaster@www.host3.net
DocumentRoot /www/docs/www.host3.net
ServerName www.host3.net
ServerAlias host3.net
ErrorLog /var/log/www.host3.net-error_log
CustomLog /var/log/www.host3.net-access_log common
</VirtualHost>
<VirtualHost 10.254.250.167:80>
ServerAdmin webmaster@www.host4.com
DocumentRoot /www/docs/www.host4.com
ServerName www.host4.com
ServerAlias host4.com
ErrorLog /var/log/www.host4.com-error_log
CustomLog /var/log/www.host4.com-access_log common
</VirtualHost>
The server has secondary IP addresses defined, and netstat shows:
tcp 0 0 10.254.250.100:80 0.0.0.0:* LISTEN
tcp 0 0 10.254.250.165:80 0.0.0.0:* LISTEN
tcp 0 0 10.254.250.166:80 0.0.0.0:* LISTEN
tcp 0 0 10.254.250.167:80 0.0.0.0:* LISTEN
The inet 10.254.250.100 is the primary interface, the other 4 interfaces answer to pings. In addition, I can telnet to port 80 on the other secondary interfaces, and netstat shows an established connection. There is no response from the web server, though when I do that.
I do have equivalent entries in my machine's host file.
But the only web page that gets displayed is host4's at 10.254.250.167. In addition, the log files for those virtual machines that won't server pages, remain empty.
Any ideas?
=== Al
---------------------------------------------------------------------
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
Re: [users@httpd] Pages not coming up
Posted by Al Sparks <da...@yahoo.com>.
Never mind. It was my browser's proxy settings.
=== Al
----- Original Message ----
From: Al Sparks <da...@yahoo.com>
To: Apache Users <us...@httpd.apache.org>
Sent: Wed, May 12, 2010 3:52:36 PM
Subject: [users@httpd] Pages not coming up
I've configured a 2.0.63 server running on CentOS 5.x with the following parameters:
Listen 10.254.250.100:80
Listen 10.254.250.165:80
Listen 10.254.250.166:80
Listen 10.254.250.167:80
In addition, I have the following virtual hosts defined.
<VirtualHost 10.254.250.100:80>
ServerAdmin webmaster@www.host1.com
DocumentRoot /www/docs/www.host1.com
ServerName www.host1.com
ServerAlias host1.com
ErrorLog /var/log/www.host1.com-error_log
CustomLog /var/log/www.host1.com-access_log common
</VirtualHost>
<VirtualHost 10.254.250.165:80>
ServerAdmin webmaster@www.host2.com
DocumentRoot /www/docs/www.host2.com
ServerName www.host2.com
ServerAlias host2.com
ErrorLog /var/log/www.host2.com-error_log
CustomLog /var/log/www.host2.com-access_log common
</VirtualHost>
<VirtualHost 10.254.250.166:80>
ServerAdmin webmaster@www.host3.net
DocumentRoot /www/docs/www.host3.net
ServerName www.host3.net
ServerAlias host3.net
ErrorLog /var/log/www.host3.net-error_log
CustomLog /var/log/www.host3.net-access_log common
</VirtualHost>
<VirtualHost 10.254.250.167:80>
ServerAdmin webmaster@www.host4.com
DocumentRoot /www/docs/www.host4.com
ServerName www.host4.com
ServerAlias host4.com
ErrorLog /var/log/www.host4.com-error_log
CustomLog /var/log/www.host4.com-access_log common
</VirtualHost>
The server has secondary IP addresses defined, and netstat shows:
tcp 0 0 10.254.250.100:80 0.0.0.0:* LISTEN
tcp 0 0 10.254.250.165:80 0.0.0.0:* LISTEN
tcp 0 0 10.254.250.166:80 0.0.0.0:* LISTEN
tcp 0 0 10.254.250.167:80 0.0.0.0:* LISTEN
The inet 10.254.250.100 is the primary interface, the other 4 interfaces answer to pings. In addition, I can telnet to port 80 on the other secondary interfaces, and netstat shows an established connection. There is no response from the web server, though when I do that.
I do have equivalent entries in my machine's host file.
But the only web page that gets displayed is host4's at 10.254.250.167. In addition, the log files for those virtual machines that won't server pages, remain empty.
Any ideas?
=== Al
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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