LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Why don't I get 404 errors?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Why don't I get 404 errors?
From: Bowie Bailey <Bowie_Bailey@xxxxxxx>
Date: Thu, 3 May 2001 09:39:01 -0400
I have a Linux box configured as an LVS-DR director.  IP address
172.16.17.25
There is one virtual service (www) at 172.16.17.30

There are three realservers:
NT 4.0 with IIS 3.0 at 172.16.17.168
NT 4.0 with IIS 4.0 at 172.16.17.11
RedHat Linux 6.2 with Apache at 172.16.17.200

The NT systems are configured with the MS Loopback Adapter as per the
HOW-TO.
The Linux system is configured with the ipchains redirect like this:
   Chain input (policy ACCEPT):
   target     prot opt     source                destination           ports
   REDIRECT   tcp  ------  0.0.0.0/0            172.16.17.30          * ->
* =>*
   REDIRECT   udp  ------  0.0.0.0/0            172.16.17.30          * ->
* =>*
   Chain forward (policy ACCEPT):
   Chain output (policy ACCEPT):

The NT system with IIS 3.0 works perfectly with the LVS.  The other two
mostly work fine as long as you request a good page.

The problem comes when you request a URL that doesn't exist on the server.
Rather than returning a 404, the browser just sits there until it times out
and says "cannot find server".  If I activate all of these realservers, I
can cycle through two servers which don't respond and one which gives a 404.

These servers all work perfectly if I go to them directly without using the
LVS.  The problem only occurs when I try to access them through the VIP.

Can anyone give me an idea of why I would get a normal response if the page
is there, but no response at all if it is not?

Bowie



<Prev in Thread] Current Thread [Next in Thread>