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

Subversion 1.9.1 and SVNParentPath

From: Tony Butt <Tony.Butt_at_cea.com.au>
Date: Thu, 3 Sep 2015 07:42:46 +0000

Problem: Cannot access svn repos using SVNParentPath and subversion
1.9.1

Environment:
Ubuntu 14.04, Apache 2.4.7, Subversion 1.9.1, mod_auth_kerb

Apache config snippet:

<Location /repos/>

   DAV svn
   SVNParentPath /srv/svn/repos/
   SVNListParentPath on

   SVNIndexXSLT "/svnindex.xsl"

# Compression options
   AddOutputFilterByType DEFLATE text/html text/plain text/xml
   SetInputFilter DEFLATE

# Krb Authentication
   Include /etc/apache2/krb.conf

   AuthDBMType default
   AuthDBMGroupFile /srv/www/groupsdb
   <RequireAll>
     Require group software hardware
     Require valid-user
   </RequireAll>

   AuthZSVNAccessFile /srv/svn/access

</Location>

I installed the subversion 1.9.0 RC a little while back on this machine,
all OK.
Installed subversion 1.9.0 release Monday, had to set
--enable-broken-httpd-auth
to build successfully. Went to the apache config and ensured that no
unauthenticated access was possible to the document root. All OK.

I installed subversion 1.9.1 yesterday, built and installed OK.
On testing repos access, I can browse to http://hostname/repos/ ,
but any attempt to access http://hostname/repos/name1
fails, with this message at the browser.

"Unauthorized This server could not verify that you are authorized to
access the document requested. Either you supplied the wrong credentials
(e.g., bad password), or your browser doesn't understand how to supply
the credentials required."

Reverting to Subversion 1.8.13, or 1.9.0 resolves this.
Changing the configuration top not use SVNParentPath, by specifying
individual repositories with SVNPath resolves this too.
Some interaction between the svnauthz changes and SVNParentPath seems to
be broken

Thanks

-- 
Tony Butt <tony.butt_at_cea.com.au>
CEA Technologies

Received on 2015-09-03 09:43:56 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.