[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: Mark Reibert <svn_at_reibert.com>
Date: 2007-08-30 07:03:03 CEST

On Thu, 2007-08-30 at 12:53 +0800, Mike A. wrote:
> Thanks for this Mark. Maybe thats what I should do, just inform the
> user about the autoprops config. Anyway, just another question, I
> tried it out in one of our html file and noticed that css file are not
> interpreted (results to html file not displaying properly), is this
> really the case?

Sounds about right to me. mod_dav_svn provides the capability to browse
the repository, but keep in mind you are peering into a versioning
repository and not serving up web pages in the classic sense. So I would
not expect mod_dav_svn to respond to a CSS request in the same way your
traditional web server would.

Think of it this way: You are really just fetching individual files from
the repository via the web. It just so happens mod_dav_svn will set the
HTTP header Content-Type field if the svn:mime-type property exists on
the file. It is just doing you a favor!

-- 
----------------------
Mark S. Reibert, Ph.D.
svn@reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 30 07:00:27 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.