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

Re: Specify the user when a command is run?

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2002-10-22 17:19:45 CEST

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.