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

RE: Apache/mod_authz_svn configuration for anonymous repository browsing

From: Sander Striker <striker_at_apache.org>
Date: 2003-08-23 18:34:39 CEST

> From: Sander Striker [mailto:striker@apache.org]
> Sent: Saturday, August 23, 2003 6:19 PM

> > From: Francois Beausoleil [mailto:fbos@users.sourceforge.net]
> > Sent: Saturday, August 23, 2003 6:13 PM
>
> > Hi !
> >
> > I was searching for information on how to setup anonymous browsing, and
> > no mention of it is made in the book. The
> > http://svn.collab.net/repos/svn/trunk/subversion/mod_authz_svn/INSTALL
> > mentions that we need a dummy anonymous account, but I could not find any
> > more information about that.
> >
> > Would someone be so kind as to help me out ? I created a user named
> > anonymous with no password. But, when I browse the repository, I still
> > have to say that I am anonymous.
>
> That's why you needed to create the anonymous account and publish the
> password.
>
> > Can this be prevented ?
>
> Nope. This is a limitation of how the auth[nz] hooks currently work in
> httpd-2.0. We will be looking into that. Someday.

Alternative to waiting: export the repository twice (two location blocks).
Once with mod_authz_svn set up, and once with:

  <LimitExcept OPTIONS GET PROPFIND REPORT>
    Deny from All
  </LimitExcept>

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 23 18:35:51 2003

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