[plug] [OT] http: different results from browser and telnet

Leon Brooks leon at brooks.fdns.net
Thu Oct 25 06:32:30 WST 2001


On Thursday 25 October 2001 02:40, Carl Gherardi wrote:
> go to
> www.badclicks.com/ in a browser (lynx or netscape)

> now try

> [carlos at b501f22 leftfield]$ telnet www.badlinks.com 80
> Trying 216.226.146.214...
> Connected to www.badlinks.com.
> Escape character is '^]'.
> GET / <---- Type this

> and you get a completely different page (might i add a umm... sleazy one
> too)

> WTF?

Name-based virtual hosting. The base host is pr0n, badlinks is name-based on 
the same IP. Try:

Host: www.badlinks.com
GET /



More information about the plug mailing list