06-13-05 10:51 PM
I have discovered that my earlier problem (see previous post) with
virtual servers is down to something strange happening to the HTTP Host
header when my virtual websites are accessed. Using Ethereal, I have
noticed that the Host header has an IP address instead of a URI, hence
my virtual servers do not work (in fact it serves the default web page)
since the server needs the domain URI from the Host header to
differentiate between the domains. I have tried both Apache and Xitami
and both exhibit the same behaviour.
I have checked the client-side HTTP GET commends and when the request
is sent the Host header is complete, with the correct domain URI. I
have to conclude that somewhere in between the client and server
machines the URI is being overwritten with the IP address. This happens
from very remote host I have tried so it must happen within my ISP or
my own network.
Does anyone have any idea why this might be happening (or if there is
another explanation)? My ISP is Pipex and my ADSL router is a Netgear
DG814. Pipex have said that they don't operate HTTP proxies and the NAT
in the router can't have anything to do with it, can it?
Any help would be much appreciated.
Cheers, Tone.
[ Post a follow-up to this message ]
|