W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: validator issue

From: Liam Quinn <liam@htmlhelp.com>
Date: Fri, 12 Nov 2004 23:47:12 -0500 (EST)
To: "E. Judith Murray" <ejmurray@luventicus.org>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0411122339430.21228-100000@localhost.localdomain>

On Fri, 12 Nov 2004, E. Judith Murray wrote:

> Since we add the section bellow to the .htaccess file of our articles
> folder, the validator is not working for the page:
> http://www.luventicus.org/articles/francais/03JeD005/index.html.
> 
> We dont know how can this affect the robot (W3C_Validator/1.305.2.148
> libwww-perl/5.800). Can you help us to identify the conflicting line?
[...]
> SetEnvIfNoCase User-Agent "^WE*" bad_bot

^WE* as a regular expression means any string that starts with W and is
followed by zero or more E characters.  That will match anything that
starts with W.

You should remove '*' from all of your regular expressions.  Even then,
treating any User-Agent starting with "We" as a bad robot seems overly
aggressive.

-- 
Liam Quinn
Received on Saturday, 13 November 2004 04:46:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:15 GMT