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

AuthzSVNNoAuthWhenAnonymousAllowed and Internal Server Errors

From: Ilya Sabanin <ilya_at_wildbit.com>
Date: Thu, 4 Jun 2020 09:14:33 -0400

Hi there,

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:

https://gist.github.com/isabanin/245385c37418b509d9bf3f01558ec73e

To trigger the error I’m doing a checkout like this:

$ svn checkout --username=anon http://ilya.svn.hostname.com/branching
svn: E170013: Unable to connect to a repository at URL 'http://ilya.svn.hostname.com/branching';
svn: E175002: Unexpected server error 500 'Internal Server Error' on '/branching'

Any suggestions?

– Ilya
Received on 2020-06-04 15:19:29 CEST

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