W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2003

Re: Validator Rejects Valid URI

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 03 Jul 2003 02:35:25 +0200
To: Ben Jansen <bmerlin@mac.com>
Cc: www-validator-css@w3.org
Message-ID: <3f17794c.121762435@smtp.bjoern.hoehrmann.de>

* Ben Jansen wrote:
>I noticed today that the CSS validator doesn't accept my website's 
>URIs, i.e. <http://w007.org/kristin>. Adding the file extension causes 
>it to work fine--however, it should not be required.

You web server or PHP script is misconfigured. The CSS Validator sends
an Accept header like

  Accept: text/css, text/html, text/xml, application/xhtml+xml,
    application/xml, image/svg+xml, */*;q=0

Your server responds with

  HTTP/1.1 406 Not Acceptable
  Date: Thu, 03 Jul 2003 00:31:09 GMT
  Server: Apache/1.3.27 (Darwin) PHP/4.3.0 mod_ssl/2.8.13 OpenSSL/0.9.6i
  Alternates: {"kristin.php" 1 {type application/x-httpd-php} {length
   2504}}
  Vary: negotiate
  TCN: list
  Content-Type: text/html; charset=iso-8859-1

to such requests. I am not sure what causes this behaivour, maybe you
should contact the webmaster of that site or your web hosting provider.
Received on Wednesday, 2 July 2003 20:36:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:12 GMT