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

Re: How is mixed authentication/anonymous access implemented

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 04 Jan 2011 12:42:21 -0500

On 12/28/2010 08:35 AM, Avalon wrote:
> Hi,
> SVN features a mixed authentication/anonymous access (see
> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir.ex-3).
> I want to achieve the same functionality using a PHP script: allow anonymous
> access until accessing some special content and than request
> authentification which should be checked according to a htaccess-file.
> As far as i understand the SVN example the authentification is performed by
> the Apache modules.

The svnbook section you refer to above isn't *wrong*, but it certainly could
be misleading in terms of what is and isn't supported. (Which is why I
wrote the "workaround" blog post to which you were pointed by my peer here.)
 For a better chance at getting a direct response with information you can
immediately apply, I would suggest consulting another PHP-centric community
for how they do this. (The Drupal community comes to mind.)

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-01-04 18:43:00 CET

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