Bug 807571

Summary: mod_dav_svn: SVNListParentPath and AuthzSVNAccessFile conflict
Product: Red Hat Enterprise Linux 6 Reporter: Petr Sklenar <psklenar>
Component: subversionAssignee: Joe Orton <jorton>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: psklenar
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-04 14:03:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Sklenar 2012-03-28 08:04:54 UTC
Description of problem:
directive AuthzSVNAccessFile doesn't work well together with SVNListParentPath on

Version-Release number of selected component (if applicable):
mod_dav_svn-1.6.11-5.el6
subversion-1.6.11-5.el6

How reproducible:
deterministic

Steps to Reproduce:
0. there are svn repositories in /var/www/svn/

1. cat /etc/httpd/conf.d/subversion.conf
<Location /example/>
  DAV svn
  SVNParentPath /var/www/svn/
  SVNListParentPath on

  AuthBasicProvider file
  AuthType Basic
  AuthName "Subversion"
  AuthUserFile /etc/httpd/conf/subversion.passwd
  Require valid-user

  Order allow,deny
  Allow from All
  Satisfy Any
  Options Indexes MultiViews IncludesNoExec

  AuthzForceUsernameCase Lower
  AuthzSVNAccessFile /etc/httpd/conf/subversion.authorization

</Location>


2. cat /etc/httpd/conf/subversion.authorization
[*]
* = rw
[/]
* = rw
  
Actual results:
you need to specify '<Location /example/>' to be able list parent repositories.
'<Location /example>' doesn't allow you to list collection of repositories.
  

Expected results:
'<Location /example>' is enough and you can see collection of repositories on http://<hostname>/example

Which works well when you comment out AuthzSVNAccessFile line


Additional info:

There is common work around for authz and SVNListParentPath issue
RedirectMatch ^(/example)$ $1/

Comment 2 RHEL Program Management 2012-05-03 05:29:21 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.