On 3 September 2015 at 11:18, Branko Čibej <brane_at_wandisco.com> wrote:
> On 03.09.2015 09:42, Tony Butt wrote:
>> Problem: Cannot access svn repos using SVNParentPath and subversion
>> 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
>> Require group software hardware
>> Require valid-user
>> AuthZSVNAccessFile /srv/svn/access
>> 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
>> 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
> When you upgraded Subversion, did you also restart httpd? (Using
> 'apachectl graceful' or 'apachectl restart' or reasonable equivalent.)
The only relevant change in Subversion 1.9.1 compared to 1.9.0 is 1698052 :
Merge the r1687304 group from trunk:
Better configure detection of httpd version and auth fix.
Build out-of-the box on more platforms.
+1: philip, stefan2, brane
Received on 2015-09-03 11:10:26 CEST