Defect #2090
closed
Added by Steven Lu about 16 years ago.
Updated almost 15 years ago.
Description
When trying to log into the SVN via Apache2 http:// with the proper credentials, it does not log me in.
Here is my apache server log.
DBD::mysql::st execute failed: called with 2 bind variables when 0 are needed at /opt/redmine/extra/svn/Redmine.pm line 278.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at /opt/redmine/extra/svn/Redmine.pm line 281.
- Status changed from New to Resolved
The guide in the Wiki is incorrect. Here's what I did.
I copied Redmine.pm to /usr/lib/perl5/Apache
Then loaded 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>
Can someone please blot out my username and password?
Actually, the wiki documentation applies to latest stable release (0.7) of Redmine.pm.
This will be updated on 0.8 release. Thanks.
Can someone please blot out my username and password?
Done.
I could also give you a guide on how to https secure the SVN and let only redmine access the repository through localhost port 80.
- Status changed from Resolved to Closed
- Resolution set to Fixed
Also available in: Atom
PDF