Apache 2.4 + SVN authz authentication with mixed authenticated/anonymous access
Poking around in mod_authz_svn's source, it's looking like it has a hard dependency on ap_satisfies(r) == SATISFY_ANY
. I'm not entirely familiar with the Apache API model, but this would appear to indicate that mod_authz_svn does not currently support Apache 2.4's new authentication model.
Since nobody else has come up with an answer or with contrary evidence, I'm going to mark this as the answer.
To make this work under Apache 2.4, load the mod_access_compat
module:
LoadModule access_compat_module libexec/apache24/mod_access_compat.so
And then add the Satisfy any
clause, just as the documentation currently indicates.
<Location /svn>
DAV svn
SVNParentPath /usr/home/antiduh/svn
AuthType Basic
AuthName "SVN repository"
AuthUserFile /usr/home/antiduh/svn/etc/svn-auth-file
AuthzSVNAccessFile /usr/home/antiduh/svn/etc/svn-access-control
Satisfy any
Require valid-user
</Location>