Problem with HTTP host header and name-based virtual servers
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Web Servers on Windows > Problem with HTTP host header and name-based virtual servers




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Problem with HTTP host header and name-based virtual servers  
Tone67


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:03 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register