Wolf Josef <josef.wolf@siemens.com> wrote:
> Thanks. But now there is an other problem:
>
> My httpd.conf contains:
>
> <Location /svn/repos>
> DAV svn
> SVNParentPath /local/svn/repos
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /path/to/passwd
> AllowOverride AuthConfig
> Require valid-user
> </Location>
>
>
> Now I create a repository with "svnadmin create /local/svn/repos/project"
> and put the following into /local/svn/repos/project/.htaccess :
AFAIK, the URLs handled by mod_dav_svn are not mapped to physical filesystem locations
under /local/svn/repos, so apache won't look there for an .htaccess.
(Moreover I have the impression that you're mixing two repository in the same
filesystem tree here)
If you want to control access based on different subprojects in your repository,
you need to use a hook script. Alternatively you can create separate repositories
for separate projects. Perhaps it's possible to do this entirely via the httpd.conf
file, but unfortunately this requires probably something like mod_rewrite and
a good knowledge of the dav_svn internal URLs -- which, by the way, are subject
to change between different releases of subversion. I won't do that.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 22 17:22:34 2002