- From: Andreas Prilop <AndreasPrilop2007@trashmail.net>
- Date: Tue, 24 Apr 2007 17:37:57 +0200 (MEST)
- To: www-validator@w3.org
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