httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph A. Nagy, Jr." <jnag...@joseph-a-nagy-jr.homelinux.org>
Subject Re: [users@httpd] XHTML and DocType Headers
Date Tue, 06 Apr 2004 12:40:28 GMT
On Tue, Apr 06, 2004 at 08:32:38AM -0400, Joshua Slive wrote the following:
> 
> On Tue, 6 Apr 2004, Joseph A. Nagy, Jr. wrote:
> 
> > Without declaring .xhtml as being text/html with an AddType decleration
> > Apache sends the file as is and even with a proper doctype decleration the
> > browser fails to read it.
> >
> > Why is the default behavior of Apache to not recognize .xhtml properly w/o
> > being server parsed or having an AddType directive?
> 
> In Apache 2, mime.types has
> application/xhtml+xml		xhtml xht
> Obviously that is not the type you are looking for.
> 
> Joshua.
<snip>

No, it's not. I'm using xhtml 1.0 transitional, not straight up xml

Why is xhtml done like that in mime.types?

-- 
Joseph A. Nagy, Jr. http://joseph-a-nagy-jr.homelinux.org
Political Activist Extraordinaire	Peace, Life, Liberty
"The only fallacy is the inaction on our part to stave off the worst of 
horrors, the stripping of personal freedom." -- Joseph A. Nagy, Jr. January 2004

Mime
View raw message