View Full Version : SSI with application/xhtml+xml
theabyss
08-06-2003, 11:26 AM
I tried putting that mime type and Mozilla gave me an error line that pointed out the text "error while processing this directive". I probably don't have something configured right.
AddHandler server-parsed htm
AddType "application/xhtml+xml; charset=utf-8" htm
That's in my server config. What?! Apache :eek: Yeah, it's not the Abyss server :p
I'm guessing something with the server-parsed directive isn't right some how.
brothercake
08-06-2003, 12:03 PM
Maybe my unfamiliarity with AddType, but I didn't think the syntax could go like that - I've always done just a simple declaration of mime-type:
AddType application/xhtml+xml htm
btw - you know if you serve unconditionally as application/xhtml+xml then IE can't display the page, and offers to download it instead?
theabyss
08-06-2003, 02:46 PM
Ahhhh man! :mad:
That's IE for ya :D Oh well. Yeah, the syntax is right. I used that format for text/html. I like using the server to add charsets instead of the meta tag. I'll try some research online later. Gets me :confused: and :( right now :cool:
<?edit:msg?>
This IE XML problem proves that the quotes in my sig are fitting to their browsers :D
brothercake
08-06-2003, 03:04 PM
Hey it's not a problem - you just need to set the mime-type conditionally; there's a thread about it http://www.codingforums.com/showthread.php?s=&threadid=19775
theabyss
08-06-2003, 03:57 PM
That's cool. Doesn't make a lot of sense right now, but I'll get the hang of it. At least it's possible in IE :rolleyes: ;)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.