Project

General

Profile

Integrating Redmine and Subversion authentication on Centos 5.6

Added by Stephen Pritchard over 13 years ago

I'm trying to get Subversion to authenticate via the Redmine database using Apache and Perl. I can see from the mysql logs that the Perl Authentication Handler is querying the mysql database (so I assume therefore that my Apache config is correct), but the "Authorization required" message keeps popping up. I've tried via a web browser and with TortoiseSVN with the same result.

My Apache Subversion config is as follows:

<VirtualHost *:80>
ServerAdmin
DocumentRoot /var/www/svn
ServerName svn.projectcygnus.org
ErrorLog logs/svn_log
CustomLog logs/svn-access_log common

PerlLoadModule Apache::Redmine
&lt;Location /&gt;
DAV svn
SVNParentPath /opt/svn
SVNListParentPath On
Order deny,allow
Deny from all
Satisfy any
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName redmine
#Read-only access
&lt;Limit GET PROPFIND OPTIONS REPORT&gt;
Require valid-user
Allow from 127.0.0.1
Allow from 184.22.234.82
Satisfy any
&lt;/Limit&gt;
#Write access
&lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;
Require valid-user
&lt;/LimitExcept&gt;
RedmineDSN "DBI:mysql:database=redmine;host=localhost:3306"
RedmineDbUser "redmine" 
RedmineDbPass "witch123"
&lt;/Location&gt;
&lt;/Virtualhost&gt;

Ideally I'd like some way to log the Perl authentication handler to see what sort of response it is getting back from MySQL.

I am running Apache 2.2.3, Subversion 1.6.11, MySQL 5.0.77 and Redmine 1.1.3

Any ideas as to what is going on and how I might troubleshoot this? Thanks!


Replies (1)

RE: Integrating Redmine and Subversion authentication on Centos 5.6 - Added by Stephen Pritchard over 13 years ago

Forgot to add that browsing from within Redmine is working fine. The problem just seems to be trying to browse externally.

    (1-1/1)