Hello,
I was just in the process of checking wether my favorite sites were all sending their XHTML pages as application/xhtml+xml, when I found that one of my favoritest was sending theirs as text/html. Was wondering if maybe these links could help:
http://www.ibm.com/developerworks/xml/library/x-tipapachexhtml/index.html and http://www.workingwith.me.uk/articles/scripting/mimetypes
I have used the php script successfully, and I assume the Apache thing should do the trick.
I love the php script because it actually rewrites the page to be HTML when the user agent doesn't have application/xhtml+xml in it's request header.
Hope any of this is helpful,
Pieter van der Weel
I was just in the process of checking wether my favorite sites were all sending their XHTML pages as application/xhtml+xml, when I found that one of my favoritest was sending theirs as text/html. Was wondering if maybe these links could help:
http://www.ibm.com/developerworks/xml/library/x-tipapachexhtml/index.html and http://www.workingwith.me.uk/articles/scripting/mimetypes
I have used the php script successfully, and I assume the Apache thing should do the trick.
I love the php script because it actually rewrites the page to be HTML when the user agent doesn't have application/xhtml+xml in it's request header.
Hope any of this is helpful,
Pieter van der Weel