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

Re: Setting correct access using Apache

From: Sean Brown <seanmichaelbrown_at_gmail.com>
Date: Fri, 30 May 2008 11:29:59 -0400

On Fri, May 30, 2008 at 5:08 AM, Stephane Bortzmeyer <bortzmeyer_at_nic.fr> wrote:
> On Thu, May 29, 2008 at 02:19:49PM -0400,
> Sean Brown <seanmichaelbrown_at_gmail.com> wrote
> a message of 28 lines which said:
>> I'd like to change it so that all users must be still be
>> authenticated (NO anonymous access), however, everything is now read
>> only (GET, PROPFIND, OPTIONS, and REPORT). How can I do that?
> In Apache:
> AuthzSVNAccessFile /etc/apache2/subversion-access
> In subversion-access:
> [/]
> * = r

This works, but has the side affect of not allowing the repository
list to be seen by authenticated users using their browser. Now I get
a 403 error: "You don't have permission to access / on this server."
It seems to have disabled the "SVNListParentPath on" directive
(although it's still in the apache configuration file. I can browse
to a specific repository, but I can no longer see the list of all
repositories. Here's what the Apache config looks like now.

    <Location />
       DAV svn
       SVNParentPath /home/svn
       SVNListParentPath on
       AuthzSVNAccessFile /etc/subversion-access
       Satisfy any
       Require valid-user
       AuthType Basic
       AuthName "Subversion Repository"
       AuthUserFile /etc/svnpasswd

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-30 17:30:28 CEST

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.