RE: validator note message.

The weird thing is neither of the servers are running PHP 4.3.10. The live
server is running "PHP 4.3.8", and the test servers are running PHP 5.0 and
PHP 4.2.9.

I just contacted my Webhost and asked them about this.

-----Original Message-----
From: David Dorward,,, [mailto:david@us-lot.org] On Behalf Of David Dorward
Sent: Thursday, February 24, 2005 8:52 AM
To: Vinh X Huynh
Cc: www-validator@w3.org
Subject: Re: validator note message.

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/5.0.2.2635
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 18:43:40 UTC