W3C home > Mailing lists > Public > www-validator@w3.org > April 2007

Re: [ANN] Beta test of the W3C Markup Validator (0.8.0 beta 1)

From: Andreas Prilop <AndreasPrilop2007@trashmail.net>
Date: Tue, 24 Apr 2007 17:37:57 +0200 (MEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.63.0704241731040.12476@s5b004.rrzn.uni-hannover.de>

On Tue, 24 Apr 2007, Sierk Bornemann wrote:

> The MIME type on sierkbornemann.de is rewritten and set via a
> mod_rewrite rule as follows:
>
> <IfModule mod_rewrite.c>
>      RewriteEngine on
>      RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
>      RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0
> [...]

This is silly! Use mod_negotiation, not mod_rewrite,
to deliver "text/html" or "application/xhtml+xml".
 http://httpd.apache.org/docs/1.3/content-negotiation.html

Example:
 http://www.unics.uni-hannover.de/nhtcapri/ruby-annotation

-- 
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell
Received on Tuesday, 24 April 2007 15:38:13 GMT

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