[Bug 1069] validator redirected to http://localhost

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1069





------- Additional Comments From ot@w3.org  2005-02-02 21:30 -------
Your web host's tech support is, unfortunately, wrong. 

Compare the following two HTTP sessions.

First session, with no particular user agent declaration...

% telnet www.stuff4beauty.com 80
Trying 66.235.221.42...
Connected to st01.startlogic.com.
Escape character is '^]'.
HEAD / HTTP/1.1
Host: www.stuff4beauty.com

HTTP/1.1 200 OK
Date: Wed, 02 Feb 2005 21:24:28 GMT
Server: Apache/1.3.31 (Unix) mod_log_bytes/0.3 FrontPage/5.0.2.2635 PHP/4.3.10 mod_ssl/2.8.19 
OpenSSL/0.9.7c
Last-Modified: Wed, 02 Feb 2005 00:39:37 GMT
Content-Type: text/html


Second session with the validator's user agent string declared:

% telnet www.stuff4beauty.com 80
Trying 66.235.221.42...
Connected to st01.startlogic.com.
Escape character is '^]'.
HEAD / HTTP/1.1
Host: www.stuff4beauty.com
User-Agent: W3C_Validator/1.305.2.148 libwww-perl/5.803

HTTP/1.1 302 Found
Date: Wed, 02 Feb 2005 21:26:31 GMT
Server: Apache/1.3.31 (Unix) mod_log_bytes/0.3 FrontPage/5.0.2.2635 PHP/4.3.10 mod_ssl/2.8.19 
OpenSSL/0.9.7c
Location: http://localhost/
Content-Type: text/html; charset=iso-8859-1
 
302 Found status code and a Location: header. 
That's a redirect.

You should probably explain to your tech support that their server *does* a redirect, only based on 
some user agent string. And point them to http://www.w3.org/Bugs/Public/show_bug.cgi?id=1069#c9 
(this comment) for more details.

Received on Wednesday, 2 February 2005 21:30:53 UTC