I have an Apache web server that has been serving up subversion
repositories for quite a while. Works great.
I now need to add another group of repositories in a parallel directory.
The original location was /svn, under which there are many subversion
repos, accessible as /svn/repo1, /svn/repo2, and so on. They all share
the same passwords.
I want to add a new tree called /xsvn that will also have repositories,
similar to the /svn tree. So, I thought I would just duplicate my
working directive in once called .
Well, the best laid plans and all that...
When trying to access this destination, I get this error from Apache.:
svn: Repository moved permanently to
'http://someplace.se/xsvn/PiPlanCalc/'; please relocate
Research indicates this is because the Location is unclear. Perhaps
duplicate trees or one tree under another. The thing is, I do not see
this. If /svn works, and this is parallel in the apache and real file
system name space, I can't see how it is unclear where /xsvn is, while
/svu works perfectly. It is not a file permission issue. All files in
the /xsvn tree are readable and, where expected, writable by the web
server. Exactly as in the /svn tree.
I know this must be something stupid on my part. But I am blind.
The Apache is:
Apache/2.2.17 (Linux/SUSE) DAV/2 SVN/1.6.6 PHP/5.3.3 mod_python/3.3.1
Python/2.6.2 mod_perl/2.0.4 Perl/v5.10.0
My config is:
# This one works
DAV svn
SVNParentPath /vol1/svn
# Limit write access to certain people
AuthType Basic
AuthName "RSofT Source Repository"
AuthUserFile /vol1/svn/aies_passwdfile
AuthGroupFile /vol1/svn/aies_groupfile
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require group aies_committers
</LimitExcept>
# Limit read access to certain people
<Limit GET PROPFIND OPTIONS REPORT>
Require group aies_committers
Require group aies_readers
</Limit>
</Location>
# This one does not
DAV svn
SVNParentPath /vol1/xsvn
# Limit write access to certain people
AuthType Basic
AuthName "PiPlan Calc Source Repository"
AuthUserFile /vol1/xsvn/PiPlanCalc_passwdfile
AuthGroupFile /vol1/xsvn/PiPlanCalc_groupfile
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require group ppc_committers
</LimitExcept>
# Limit read access to certain people
<Limit GET PROPFIND OPTIONS REPORT>
Require group ppc_committers
Require group ppc_readers
</Limit>
</Location>
Now accepting slaps along side the head...
--
Roger Oberholtzer
--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org