User Tools

Site Tools


Sidebar

tutorials:redmine_svn_integration

This is an old revision of the document!


= Redmine and Subversion integration =

* This tutorial is about using native Redmine accounts for Subversion repository access. * Useful links Redmine Subversion ** Repository acces control with Apache, mod_dav, svn and mod_perl

System settings

koala}

* Redmine installation folder is redmine-0.8}.

First steps

* install required packages

apt-get install libapache2-svn libapache-dbi-perl libapache2-mod-perl2 libdbd-mysql-perl libdigest-sha1-perl

* enable Apache2 modules

a2enmod dav
a2enmod dav_svn
a2enmod perl
Apache2 configuration

* Perl module configuration

koala:~# cd /usr/lib/perl5/Apache2/
koala:/usr/lib/perl5/Apache2# ln -sf /usr/local/lib/redmine-0.8/extra/svn/Redmine.pm .

* Add the following lines to the Apache2 site configuration file

	PerlLoadModule Apache::Redmine
	<Location /redmine/svn>
		DAV svn
		SVNParentPath "/var/svn/redmine" 

		AuthType Basic
		AuthName redmine
		Require valid-user

		PerlAccessHandler Apache::Authn::Redmine::access_handler
		PerlAuthenHandler Apache::Authn::Redmine::authen_handler

		## for mysql
		RedmineDSN "DBI:mysql:database=databasename;host=my.db.server" 

		RedmineDbUser "redmine" 
		RedmineDbPass "password" 
	</Location>

Replace databasename}, my.db.server}, redmine} and password} with valid data.

tutorials/redmine_svn_integration.1256504226.txt.gz · Last modified: 2009/10/25 22:57 by razvan