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

Re: Validator Rejects Valid URI

From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Fri, 04 Jul 2003 09:31:48 GMT
To: <www-validator-css@w3.org>
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "Ben Jansen" <bmerlin@mac.com>
Message-ID: <be3oj2.js.1@mail.christoph.schneegans.de>

Bjoern Hoehrmann wrote:

> 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
>   (...)
>
> to such requests. I am not sure what causes this behaivour, (...)

Requesting <http://w007.org/kristin> with

  Accept: application/x-httpd-php

returns "200 OK", so this behaviour is probably due to a directive

  AddType application/x-httpd-php .php

which should read

  AddType text/html .php

to support content negotiation. PHP should be enabled by using an
AddHandler directive instead.

-- 
<http://schneegans.de/>
Received on Friday, 4 July 2003 05:34:59 GMT

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