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

Re: web_dav/Apache/Subversion

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2003-12-10 19:30:53 CET

--On Wednesday, December 10, 2003 13:26:00 -0500 John Peacock
<jpeacock@rowman.com> wrote:

> I'd like to (on my test server only) have Apache use the subversion
> repository itself as the DocumentRoot. This would mean that the test
> server would not have a WC of it's very own (that I'd have to keep
> updated with post_commit). The files would be read-only (as far as
> Apache was concerned), so no autoversioning issues.


At the least, I think you'd have to use:

UseModMimePathInfo on

This allows the mod_mime filters/handlers to kick in. Otherwise, it'll
ignore it and none of your directives will be in effect. svn:mime-type
only sets the CT, but doesn't allow the filters to be inserted based on the

I think there used to be a bug in mapping the repository to /, but ISTR
that might be fixed. It shouldn't be difficult to do so.

<Location />
  SVNPath /path/to/repos

The other comment is that you'd need another <Location> block to actually
commit to. ModMimeUsePathInfo doesn't play well with DAV or DeltaV.

HTH. -- justin

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 10 19:31:37 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.