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

Apache and .htaccess files

From: Szymon Guz <alpha_at_skynet.org.pl>
Date: 2004-07-16 13:07:53 CEST

Hi,
I try to set subversion under Apache2 (SuSE91) and I cannot do one thing:
how to set permissions for a repository in .htaccess files ?

When I write sth like this in httpd.conf :

<Location /svn/rep1>
  Dav svn
  SVNPath /srv/www/svn/rep1

  AuthName "Administration"
  AuthType Basic
  AuthUserFile /srv/www/svn-auth/rep1.auth
  require valid-user
</Location>

all seems to work properly. But when I set this like this:

<Location /svn>
  Dav svn
  SVNParentPath /srv/www/svn
</Location>

and place in directory /srv/www/svn/rep1 a .htaccess file in which I have
this:

AuthName "Administration"
AuthType Basic
AuthUserFile /srv/www/svn-auth/rep1.auth
require valid-user

everything seems not to work and I can read the repository as anonymous
user. Howto set this in the way that I can create new repositories without
restarting Apache and i can set different rights for different users to
them ??

Szymon Guz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 16 13:07:54 2004

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