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

Re: Authentication

From: Mukund <mukund_at_tessna.com>
Date: 2003-09-12 18:07:15 CEST

On Fri, Sep 12, 2003 at 11:01:24AM -0400, jrodrigu@lexmark.com wrote:
> to some users. I added the following lines in the httpd.conf file:
> <Directory /sample/path/to/my/repository>
> AuthType Basic
> AuthName "Restricted Area. Authorized Personnel Only."
> AuthUserFile /path/to/my/password/file
> Require valid-user
> </Directory>

As Sussman says, this has to be a <Location> block instead of a
<Directory> block as the directory is accessed outside Apache by the
Subversion libraries. Besides, this is not what you want anyway.
What you want is to set access control over repository paths,
and for that, use <Location> along with mod_authz_svn.
For information on how to use mod_authz_svn,
read subversion/mod_authz_svn/INSTALL

Please read the Subversion Guide and follow it.

The very powerful and the very stupid have one thing in common.  Instead of
altering their views to fit the facts, they alter the facts to fit their
views ... which can be very uncomfortable if you happen to be one of the
facts that needs altering.
                -- Doctor Who, "Face of Evil"
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 12 18:17:07 2003

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.