I'm not sure if this is what you are looking for, but anyway..
Code:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0
RewriteCond %{REQUEST_URI} \.html$
RewriteCond %{THE_REQUEST} HTTP/1\.1
RewriteRule .* - [T=application/xhtml+xml]
Additional info could be found in the links below:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
http://www.ibm.com/developerworks/xm...tml/index.html
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html
Also, you may want to have a look at the
DefaultType directive in the
httpd.conf file. Check out
mime.types too.
Good luck!