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

[bug] Restart needed after repository creation (svnparentpath)

From: Julien Bidault <developper_at_jubijub.com>
Date: 2004-08-19 11:08:02 CEST

Hi,

I'm trying to make a Howto setup svn + apache with full explanations and exemples.

Well, in the book it is said about the SVNParentPath directive that it allows to
have multiple repositories, and that it avoid restarting apache after creation.

"<Location /svn>
DAV svn
# any "/svn/foo" URL will map to a repository /usr/local/svn/foo
SVNParentPath /usr/local/svn
</Location>
Using the previous syntax, Apache will delegate the handling of all URLs whose
path portions begin with /svn/ to
the Subversion DAV provider, which will then assume that any items in the
directory specified by the SVNParent-
Path directive are actually Subversion repositories. This is a particularly
convenient syntax in that, unlike the use of
the SVNPath directive, you don't have to restart Apache in order to create and
network new repositories."

I have tried so, and I need to restart the server, or only the group of the
repository creator can access it.

I'm using Subversion 1.1RC2, and Apache 2.0.50, under windows 2000 SP4.

Here's my Location directive :

<Location /svn>
        DAV svn
        #home of all repositories
        SVNParentPath "c:/web/subversion"
        # per directory access list
        AuthzSVNAccessFile "c:/web/access.conf"
        # try anonymous access first if it fails, challenge user for
  authentification
        Satisfy Any
        Require valid-user
        # set the auth method
        AuthType Basic
        AuthName "Serveur de fichiers sources"
        #home of password file
        AuthUserFile "c:/web/passwd.conf"
        ErrorDocument 500 /error500.html
        ErrorDocument 403 /error403.html
        UseCanonicalName on
</Location>

Here is my authorisation list :

#Liste de droits (oops, :o))
[groups]
admins = batman, superman
devel = toto, titi, tata
testers = athos, portos, aramis

[test:/]
@admins = rw
@devel = rw
@testers = r

[project:/]
* = r
@admins = rw
@devel = rw
spiderman = rw

[private:/]
@admins = rw

The problem is :

let's asume toto (developper) creates a repository, and upload stuff. Unless I
restart apache, only @devel can access the files via http...if I restart,
everyone that is supposed to can...

This seems to be the standard behaviour for SVNPath, but not for SVNParentPath...

I'd like to know if this is a bug, of a meant behaviour which means the doc is
lagging behind.

Thanks,

Julien

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 19 11:08:22 2004

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