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

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 UTC