Pierre Berthier wrote on Thu, Jan 05, 2012 at 10:12:56 +0100:
> I have now reduced my configuration to two variations, the following
> works fine:
> 

(Thanks for the additional details, it's _much_ easier to respond
usefully given them.)

> I am now wondering if that should be considered a bug at all, or is
> this expected behaviour?  My rational in setting SVNPathAuthz Off
> globally was to save server resources as explained in the svn book
> section:
> http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.serverconfig.httpd.authz.pathauthzoff
> 
> and I thought enabling it again per repository only if needed would at
> the end be optimal. [...]

If you use 'SVNPathAuthz short_circuit" and supply an empty (0-byte, or
"[/]\n *=rw") authz file for repositories that don't need authz, I think
the effect on server resources will be minimal.

(The code will still try to authz every path, but the overhead of
reading/parsing/applying the authz file will be small.)

Though, in general, agreed with Philip here --- it'd be nice if
per-repository httpd.conf settings in SVNParentPath configurations
Just Worked.

Reply via email to