You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Han The Man <ha...@hotmail.com> on 2003/08/21 07:25:30 UTC
Viewing HTML files
Hi,
When I browse a repository in Explorer and click an HTML file, I get the
source. Is there a way to show the web page rather than the source?
That is, can I display an URL like "http://myserver/svn/repos/index.html"
rather than its source?
Thanks.
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Viewing HTML files
Posted by Thom May <th...@planetarytramp.net>.
* Ben Collins-Sussman (sussman@collab.net) wrote :
> "Han The Man" <ha...@hotmail.com> writes:
>
> > Hi,
> >
> > When I browse a repository in Explorer and click an HTML file, I get
> > the source. Is there a way to show the web page rather than the source?
>
> Yes. Set the file's 'svn:mime-type' property to 'text/html'.
> mod_dav_svn will notice it and send the value out in the GET
> response's Content-type: header.
without wishing to nag, the lists got split for a reason ;-)
-Thom
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Viewing HTML files
Posted by Ben Collins-Sussman <su...@collab.net>.
"Han The Man" <ha...@hotmail.com> writes:
> Hi,
>
> When I browse a repository in Explorer and click an HTML file, I get
> the source. Is there a way to show the web page rather than the source?
Yes. Set the file's 'svn:mime-type' property to 'text/html'.
mod_dav_svn will notice it and send the value out in the GET
response's Content-type: header.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org