3 # See Calvin Smith's "Serving XHTML Correctly Using Apache"
4 # http://protempore.net/~calvins/howto/xhtml-apache/
5 # for details on the following code, which works around
6 # application/xhtml+xml issues with MSIE.
8 AddType application/xhtml+xml;q=0.8 .shtml
10 RewriteCond %{REQUEST_URI} \.shtml$
11 RewriteCond %{HTTP_USER_AGENT} MSIE [OR]
12 RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml\s*;\s*q=0\.?0*(\s|,|$)
13 RewriteRule .* - [T=text/html]
15 # If MSIE was intelligent, we could replace the above with a simple
16 #AddType application/xhtml+xml .shtml