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

Apache 2.4 - Satisfy any Bug?

From: Matthias Druve <matthias.druve_at_tu-berlin.de>
Date: Fri, 17 Apr 2015 15:38:39 +0200

Hi everyone,

i'm new to submitting bugs but i think i have found an issue.

I have an apache 2.4 with mod_authz_svn running.
I've migrated from apache 2.2 to 2.4 and now i'm facing the problem to
having public anonymous readable and authenticated user based repositories
side by side in one location.

With apache 2.2 there is "Satisfy any" and in 2.4 not.

But lets start with the config:

<Location /svn>
        DAV svn
        SVNParentPath /svn/repos
        AuthType Basic
        AuthName "Subversion repository"
        AuthUserFile /svn/etc/svnusers

        # To enable authorization via mod_authz_svn
        AuthzSVNAccessFile /srv/svn/etc/svnaccess
        Require valid-user

         Satisfy any (works only with apache 2.2)
</Location>

svnaccess:
------------------
[ps:/]
userxyz = rw
* =

[ps:/public]
userxyz = rw
* = r
------------------

versions:
apache-2.4.12
subversion 1.8.11
gentoo-linux

With apache 2.4 there is normally no "Satisfy any" command anymore,
unless you install the access compat module,
which provides backwards compatibility of some commands like "Satisfy".

I looked into the last code, i've found here (i hope it's the right one):
https://svn.apache.org/repos/asf/subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c

and on line 846 it seems that anonymous access is hardcoded to "Satisfy
any"?

So my questions is, how it's going to work with apache 2.4 without
access compat module.
For now i can install the additional module but how long will it be
there to provide backward compatibility.

Or am i just to stupid to configure apache 2.4 right? : )
Is there a way to configure it without the "Satisfy any" command?

Is there maybe a ticket for that issue open already?
I tried to find one here: http://subversion.tigris.org/issues/query.cgi
but I didn't found anything which seems to be my problem.

Thanks in advance and greetings
Matthias
Received on 2015-04-17 23:50:38 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.