Project

General

Profile

Update to 1.1.2 and I can't authenticate users to repository now

Added by A. Wegner about 13 years ago

Hi again,

I recently updated to 1.1.2 and fixed most of the issues I ran into (http://www.redmine.org/boards/2/topics/22431). I have one remaining issue and it's a fairly large one. I can't access my repositories from my SVN clients. I am constantly prompted for credentials to log in - and they always fail.

On 0.9.3, I had used the following guide to configure access to the SVN Repositories. http://www.redmine.org/projects/redmine/wiki/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl#Apache-configuration-for-Subversion-repositories

This worked wonderfully. Do I need to change anything in that configuration to re-enable access to the repositories for my SVN clients?

My vhost config looks like this (with user/password/domain/IP stripped):

<VirtualHost *:80>
        ServerName redmine.{STRIPPED}.com
        ServerAdmin webmaster@{STRIPPED}.com
        DocumentRoot /var/www/clients/client8/web7/web/redmine/public/
        ErrorLog /var/log/ispconfig/httpd/{STRIPPED}.com/redmine-error.log

        <Directory "/var/www/clients/client8/web7/web/redmine/public/">
                Options Indexes ExecCGI FollowSymLinks
                Order allow,deny
                Allow from all
                AllowOverride all
        </Directory>

        # /svn location for users
        PerlLoadModule Apache::Redmine
#       <Location "/var/www/clients/client8/web7/web/redmine/svn">
        <Location "/svn">
                DAV svn
                SVNParentPath "/var/www/clients/client8/web7/web/redmine/svn" 
                Order deny,allow
                Deny from all
                Satisfy any

                PerlAccessHandler Apache::Authn::Redmine::access_handler
                PerlAuthenHandler Apache::Authn::Redmine::authen_handler
                AuthType Basic
                AuthName "SVN Repository" 

                #read-only access
                <Limit GET PROPFIND OPTIONS REPORT>
                        Require valid-user
                        Allow from {STRIPPED}
                        Satisfy any
                </Limit>
                # write access
                <LimitExcept GET PROPFIND OPTIONS REPORT>
                        Require valid-user
                </LimitExcept>

                ## for mysql
                RedmineDSN "DBI:mysql:database={STRIPPED};host=localhost" 
                RedmineDbUser "{STRIPPED}" 
                RedmineDbPass "{STRIPPED}" 
        </Location>
    </VirtualHost>

About your application's environment
Ruby version              1.8.6 (x86_64-linux)
RubyGems version          1.3.7
Rack version              1.1
Rails version             2.3.11
Active Record version     2.3.11
Active Resource version   2.3.11
Action Mailer version     2.3.11
Active Support version    2.3.11
Application root          /var/www/clients/client8/web7/web/redmine
Environment               production
Database adapter          mysql
Database schema version   20110228000100