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

Re: Change HTTP Response Header

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-22 19:09:12 CEST

Dani Michel wrote:
> Hi list
> I just set up the webserver modules for Subversion and everything works
> fine so far. Since I will be using Subversion to manage website projects,
> I thought I could connect to the repository by browser to view the current
> state of the project.
> But I noticed then that the HTML-Files in my repository are shown as
> plain text, so I see the page source instead of the page itself.
> I then tried to override the Content-Type in the HTTP-header, but it
> seems that Subversion overrides my own settings.
> Does anyone know how this behavior could be changed? I want
> the repository-Files being viewed as HTML.

Set the svn:mime-type property on the html files.

*But* bear in mind that mod_dav_svn only provides *basic* repository
browsing as a convenience. It does not attempt to provide a fully-featured
system for hosting a website directly out of a subversion repository.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 19:10:49 2004

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