W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

Re: validator note message.

From: David Dorward <david@dorward.me.uk>
Date: Thu, 24 Feb 2005 16:51:54 +0000
To: Vinh X Huynh <huynhvx@cox.net>
Cc: www-validator@w3.org
Message-ID: <20050224165154.GB27009@us-lot.org>

On Thu, Feb 24, 2005 at 08:18:52AM -0800, Vinh X Huynh wrote:
>    For some reason when I go to validate this page, it shows a redirect back
>    to the localhost. what does this message mean?
>     The URL you gave me, <http://www.bhdgdptcalifornia.com/>, returned a
>    redirect to <http://localhost/>.

If I request the page, while pretending to be the Validator:

$ lynx -dump  --useragent="Lynx_pretending_to_be W3C_Validator/1.305.2.148 libwww-perl/5.803"  -head http://www.bhdgdptcalifornia.com/

Then your server returns:

HTTP/1.1 302 Found
Date: Thu, 24 Feb 2005 16:46:39 GMT
Server: Apache/1.3.31 (Unix) mod_log_bytes/0.3 FrontPage/ PHP/4.3.10 
mod_ssl/2.8.19 OpenSSL/0.9.7c
Location: http://localhost/

It looks like someone is trying to block software based on libwww-perl
- but are for some insane reason redirecting them to localhost instead
of giving a Forbidden message.

See also http://www.w3.org/Bugs/Public/show_bug.cgi?id=1069#c11

David Dorward                                      http://dorward.me.uk
Received on Thursday, 24 February 2005 16:51:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC