AuthzSVNNoAuthWhenAnonymousAllowed and Internal Server Errors
From: Ilya Sabanin <ilya_at_wildbit.com>
Date: Thu, 4 Jun 2020 09:14:33 -0400
We’re trying to setup Apache to serve Subversion repositories and depending on the authz file, some of them should allow anonymous access. Problem is, as soon as we turn “AuthzSVNNoAuthWhenAnonymousAllowed” setting to “On”, Apache starts throwing 500 errors at us. If we switch that setting off, then everything works fine except for anonymous access.
We’re using Apache 2.4.43 and Subversion 1.14. Below is a gist with our httpd.conf (it’s super lightweight, I removed all unnecessary stuff from it, including SSL termination), apache logs and authz file contents:
To trigger the error I’m doing a checkout like this:
$ svn checkout --username=anon http://ilya.svn.hostname.com/branching
This is an archived mail posted to the Subversion Users mailing list.