On Tue, 15 Jan 2002, Mithun Bhattacharya wrote:

> Well looks like even IIS is doing the redirect. The funny thing is it 
> redirects to a directory without a trailing slash causing another 
> redirect to another URL with a slash.

They are doing a 302 - Moved temporarily, not a 301 - moved permanently.  
This is so because microsoft has multiple servers that they are probably 
using for load sharing or something like that.

> telnet> open www.microsoft.com 80
> Trying 207.46.197.113...
> Connected to www.microsoft.com.
> Escape character is '^]'.
> GET /download HTTP/1.0
> 
> HTTP/1.1 302 Object Moved
> Location: http://CPMSFTWBW35/download/
> Server: Microsoft-IIS/5.0
> Content-Type: text/html
> Content-Length: 151
> 

after this, you should pretend to be a browser, and do this:

telnet www.microsoft.com 80
GET http://CPMSFTWBW35/download/ HTTP/1.0

of course, you'll just go on and on.

One major bug here, is that they respond to a HTTP/1.0 request with a 
HTTP/1.1 response.  This is one of the methods used to detect whether a 
server is IIS or not - assuming its server string has been changed.

Anyway, this is drifting way off topic

Philip

-- 
Staff meeting in the conference room in 3 minutes.


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to