Pages not coming up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx
      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@xxxxxxxxxxxxx
      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@xxxxxxxxxxxxx
      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@xxxxxxxxxxxxx
      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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux