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

Re: [svn] viewing of html files via browser

From: Rainer Sokoll <R.Sokoll_at_intershop.de>
Date: 2007-08-31 07:55:23 CEST

On Thu, Aug 30, 2007 at 09:42:33PM -0700, Mark Reibert wrote:
> On Thu, 2007-08-30 at 08:15 -0400, Andy Levy wrote:

> > Same root cause. Set the svn:mime-type on the CSS files to text/css
> > and it should work. Lather, rinse, repeat for text/javascript (JS
> > files), your images (image/gif, image/png, image/jpeg) and so on.
>
> So, you are saying that as long as the CSS files have the correct mime
> type, mod_dav_svn will will render the HTML file with the referenced
> CSS? I did not expect that (but I have not tried it either).

I would expect that.
The Browser issues "GET foo.html". foo.html contains a link to bar.css,
therefore the browser has to make an additional "GET bar.css" - and
subversion will happily deliver bar.css. As long as both files are
delivered with the correct MIME type, the browser will render them.

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 31 07:52:40 2007

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.