Project

General

Profile

Actions

Defect #2157

closed

Problem in Wiki Page about SVN Setup

Added by Skaag Argonius over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Category:
Wiki
Target version:
-
Start date:
2008-11-10
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The URL in question contains incorrect information:

http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl#Apache-configuration-for-subversion-repositories-and-redmine-after-07X

It should read like this:

First copy Redmine.pm to /usr/lib/perl5/Apache
Then load the following configuration script:

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

    AuthType Basic
    AuthName redmine
    Require valid-user

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

    RedmineDSN DBI:mysql:database=redmine;host=localhost

    RedmineDbUser xxxxxxxxxx
    RedmineDbPass xxxxxxxxxx
</Location>

By the way if you grant me editing access, I will fix such things when I find them.
This should help you guys a bit, I guess?
Anyway for your consideration. Many thanks! :-)

Actions #1

Updated by Jean-Philippe Lang over 15 years ago

  • Target version deleted (0.7.3)
  • Affected version (unused) deleted (0.7.3)
  • Affected version deleted (0.7.3)
Actions #2

Updated by Chris Miller over 15 years ago

Please updated this soon! This took me the better part of two hours to diagnose until stumbling upon this bug (after wondering "hey, someone might also be having trouble!")

If possible revert Redmine.pm so that it doesn't have to be moved to /usr/lib/perl5/Apache, as that makes updating difficult...

Before:

cd /opt/redmine
svn switch http://redmine.rubyforge.org/svn/tags/YourVersionHere
svn up
rake db:migrate RAILS_ENV="production" 
<restart the app however you need>

After we have to annex:

mv -f /opt/redmine/extra/svn/Redmine.pm /usr/lib/perl5/Apache

Actions #3

Updated by Nicolas Chuche over 15 years ago

  • Status changed from New to Closed
  • Assignee changed from Jean-Philippe Lang to Nicolas Chuche

Please updated this soon! This took me the better part of two hours to diagnose until stumbling upon this bug (after wondering "hey, someone might also be having trouble!")

Ok done

If possible revert Redmine.pm so that it doesn't have to be moved to /usr/lib/perl5/Apache, as that makes updating difficult...

Did you try to do a link instead of moving Redmine.pm ?

Actions

Also available in: Atom PDF