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.FlavellReceived on Tuesday, 24 April 2007 15:38:13 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:01 UTC