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

Re: A few more questions

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-25 23:48:19 CET

On Mon, Feb 25, 2002 at 05:30:49PM -0500, Ben Collins wrote:
> > > > <Location />
> > > > DAV svn
> > > > SVNPath /var/www/html/trunk
> > > > </Location>
>...
> > No. The SVNPath directive must point to a repository. It cannot point
> > "further into" that repository.
> >
> > Using internal redirects (and/or mod_rewrite), you could probably redirect
> > the root ("/") to "/trunk".
>
> Doh, I noticed that and forgot about it. Couldn't you add a SVNPrefix
> directive to base everything on, so one could do:
>
> <Location>
> DAV svn
> SVNPath /var/svn/repo
> SVNPrefix /trunk
> </Location>

Yup. We certainly could do that. It would be kind of neat for publishing
stuff out of a repository. However, I'd rather just rely on mod_rewrite
instead of adding more directives.

That said: I don't know what the right mod_rewrite magic would be. That
could be an interesting FAQ for setting up a server.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

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.