RE: Re: Multiple users/repositories + Apache
From: <postmaster_at_tigris.org>
Date: Sun, 11 Jan 2009 18:00:52 -0800 (PST)
Thanks for the idea, I considered that. svnserve gives you separate authorization files for each repository, which is good. But it also uses separate authentication files for each repository and I wanted to use our existing centralized apache authentication setup for usernames/passwords.
I had a fiddle with the code for mod_authz_svn and added an AuthzSVNAccessFilePerRepository directive which makes it look in the base directory of each repository for the AuthzSVNAccessFile. You can then set AuthzSVNAccessFile to /conf/authz to use the same file that svnserve uses. I've attached a patch for the mod_authz_svn.c from svn 1.5.5 for anyone interested. Works pretty well for me, ymmv.
Cheers,
|
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.