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

restricting access with mod_authz_svn

From: Jason Diamond <jason_at_injektilo.org>
Date: 2004-05-28 09:45:17 CEST

I'm trying to restrict access to just one repository on my server while
keeping all of the other repositories open using mod_authz_svn but am
having no luck.

/etc/apache2/mods-enabled/dav_svn.conf:

>>>
<Location /svn>
 DAV svn
 SVNParentPath /svn

 AuthType Basic
 AuthName "Subversion Repository"
 AuthUserFile /etc/apache2/dav_svn.passwd

 AuthzSVNAccessFile /etc/apache2/dav_svn.authz

 Require valid-user
</Location>
<<<

/etc/apache2/dav_svn.authz:

>>>
[/]
* = rw

[myrepo:/]
* =
myuser = rw
<<<

With the above two files, all users can read from myrepo.

I know that the file is being read because if I remove the *=rw in the
[/] section, no users can read from any repository.

What am I doing wrong?

Thanks.

-- Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 28 09:46:05 2004

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.