Re: HTML in the repository displays as text in Firefox
Thanks for the tip. I had tried the following before to no avail:
svn propset svn:mime-type "text/html" *.html
This time it worked perfectly and I can browse the repository html pages
On 11/9/06, Andy Levy <firstname.lastname@example.org> wrote:
> On 11/8/06, email@example.com <firstname.lastname@example.org> wrote:
> > We have a subversion repository (on Linux) with some very simple HTML
> > The pages display fine when browsed to in IE (6) but in Firefox (1.5)
> > 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.
Received on Fri Nov 10 21:33:56 2006
This is an archived mail posted to the Subversion Users