Project

General

Profile

Accessing multiple Subversion repositories in one project on Redmine 1.4.2.stable (MySQL)

Added by Tobias Arndt almost 12 years ago

Hi,

We are still using Redmine 1.4.2.stable ( upgrade is planned soon ) and would like to access the main Subversion repository and one additional repository in a single project. The main repository is accessible via Tortoise https://myserver/projects/myproject and was created automatically via reposman.rb. Now we added a second repository via the redmine webinterface in myproject and recognized reposman.rb has not taken care creating this repository. To overcome this we simply created it manually with "svnadmin create /opt/svn/secondrepos". If we declare secondrepos in the redmine webinterface as the main repository it's also accessible via the project URL. But of course we would like to use both repositories with different URL's. How can we do this ? Do we have to use the repository identifier in the URL ? We already tried different URL combinations but no success so far.

This is our Apache configuration so far:

################################
# https Subversion via Tortoise#
################################

<VirtualHost 10.x.x.x:443>
        ServerName myserver.mydomain.com

        ErrorLog ${APACHE_LOG_DIR}/error-https-tortoise.log
                CustomLog ${APACHE_LOG_DIR}/access-https-tortoise.log combined

                SSLEngine on
                SSLCertificateKeyFile /etc/ssl/my.key
                SSLCertificateFile /etc/ssl/my.crt

        PerlLoadModule Redmine

                <Location /projects>
            DAV svn
            SVNParentPath "/opt/svn" 

            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=redmine;host=localhost" 
            RedmineDbUser "myserver" 
            RedmineDbPass "mypass" 

        </Location>
</Virtualhost>

Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.8.15
Rack version 1.1.3
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Application root /opt/redmine-1.4.2
Environment production
Database adapter mysql

Thank you for your comments and help !

Best regards,

Tobias