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

Re: HTML in the repository displays as text in Firefox

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-11-09 15:13:21 CET

On 11/8/06, tereddy@gmail.com <tereddy@gmail.com> wrote:
> We have a subversion repository (on Linux) with some very simple HTML pages.
> The pages display fine when browsed to in IE (6) but in Firefox (1.5) they
> appear as text. I tried playing around with the mime-type settings on
> particular files, but that didn't help. I couldn't find any information
> searching the web or the Subversion site. Any thoughts?

Firefox decides how to handle pages served to it based on the
content-type HTTP header, whereas IE usually guesses based on the
filename extension.

Set the svn:mime-type property to text/html on these HTML files and
all will be well. This is a good habit to get into anyway - I try to
mark every file I can in my repositories with the appropriate
mime-type. It's extra metadata that costs almost nothing but can be
valuable down the line.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 9 15:14:12 2006

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