Anh Tu Vu wrote:
Hi Anh,
> telnet to port 80 of a site and use GET / HTTP/1.0 , i get a different web
> page from using IE to get to that site. Did the site use a proxy server to
> analyze HTTP header and return a page upon the header ? Which
> NAT/Proxy/Firewall scheme was probably used ?
Yup, they probably use HTTP/1.1 style virtual hosting using one IP.
If you dont supply the Host: header (and HTTP/1.1) the webserver will
serve out whatever the webserver has in it's default-root.
IE supplies the full compliment of HTTP headers (including Host: header)
and gets you the site you are most likely after.
Read up on the HTTP/1.1 RFC for further details about the differences
between the two versions of HTTP protocols.
Regards,
Chris.
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]