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 <cmpil...@collab.net> CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature