[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: Ben Collins <bcollins_at_debian.org>
Date: 2002-02-25 21:54:14 CET

On Mon, Feb 25, 2002 at 03:39:18PM -0500, Tim Moloney wrote:
> I'm still trying to get my brain around if/how I can use Subversion to
> address some of my issues.
>
> Question 1
>
> Please tell me if the following is correct. For each module that is in
> Subversion, I have to have a separate repository (created with 'svnadmin
> create') and a separate <Location> block in the Apache httpd.conf file.
> Otherwise, all modules would have the same revision number.

I believe so, yes.

> Question 2
>
> Is there a way to "chroot" inside a Subversion repository? For example,
> if I had create a repository with
>
> svnadmin create /var/www/html
> svn mkdir file:/var/www/html/trunk
> svn mkdir file:/var/www/html/tags
> svn mkdir file:/var/www/html/branches
>
> could I then put the following in httpd.conf?
>
> <Location />
> DAV svn
> SVNPath /var/www/html/trunk
> </Location>

You could, but they would see a listing of the files in the repo, and
not webpages like you want.

> <Location /maint>
> DAV svn
> SVNPath /var/www/html
> </Location>

This part would work, but again would produce file listings, as opposed
to seeing "index.html".

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux    --    WatchGuard.com      \
`          bcollins@debian.org   --   Ben.Collins@watchguard.com           '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
---------------------------------------------------------------------
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.