[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

HTML files rendered by Apache as text/plain

From: Chris Shenton <Chris.Shenton_at_hq.nasa.gov>
Date: 2005-09-02 21:11:44 CEST

One of my developers put some HTML files into our SVN repo, which is
fronted by Apache. When he looks at them on his browser, Apache
serves them with mime-type text/plain, so the browser doesn't render
them properly. I checked the Apache2 mime configs and everything's
sane -- for normal HTML files anyway.

I was able to get SVN to inform Apache to supply the correct mime-type
text/html by setting the svn:mime-type property for each of these
files. Apache then passes the right mime-type header and the browser
renders it properly. Is this the right way to do this?

Is there a way to tell SVN that all .html files should have mime-type
text/html instead of text/plain?

Is there a better way to do this?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 2 21:15:51 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.