Associate
- Joined
- 10 Jul 2006
- Posts
- 2,423
I'm running an Apache server to host my websites. They are all written in XHTML5 so I WANT to serve them as application/xhtml+xml.
The default on Apache is to serve pages as text/html.
Is there a configuration that I can put at the bottom on my config file that will set the response header Content-Type to application/xhtml+xml for the browsers that support it, otherwise serve as text/html (for < IE9 basically.)
For the pages that are PHP too, do I have to do anything different/ontop of this?
The default on Apache is to serve pages as text/html.
Is there a configuration that I can put at the bottom on my config file that will set the response header Content-Type to application/xhtml+xml for the browsers that support it, otherwise serve as text/html (for < IE9 basically.)
For the pages that are PHP too, do I have to do anything different/ontop of this?