[whatwg] Configure Apache to send the right MIME type for XHTML

Elliotte Harold elharo at metalab.unc.edu
Wed Mar 7 04:27:23 PST 2007


Readers of this list may get a kick out of my latest developerWorks article:

Configure Apache to send the right MIME type for XHTML

http://www-128.ibm.com/developerworks/xml/library/x-tipapachexhtml/

As this list has flamed about repeatedly, XHTML documents are supposed 
to be tagged as application/xhtml+xml when sent over HTTP. However 
Internet Explorer doesn't like that and won't display such a document.
This article explains how to hack the problem by tagging a document as 
text/html for IE (and Lynx) and application/xhtml+xml for everyone else.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



More information about the whatwg mailing list