Project

General

Profile

Authentication with Redmine.pm keeps failing

Added by Alessandro B almost 16 years ago

Hi all,
I have succefully set up a Redmine project, but for some reason my configuration doesn't work with the svn authentication.

PerlLoadModule Apache::Redmine
<Location /svn>
DAV svn
SVNParentPath “/svn”
AuthType Basic
AuthName svn
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN “DBI:mysql:database=dbname;host=localhost”
RedmineDbUser “myusername”
RedmineDbPass “mypass”
</Location>

It keeps on prompting the login window over and over.

My subversion client shows this to me:

svn: PROPFIND request failed on '/svn'
svn: PROPFIND of '/svn' authorization failed (http://mydomain.com)

after the fourth time the login window shows up.

We can successfully login into the redmine project but not browse the svn repository through apache.

What's wrong with that configuration?

I would appreciate any help

Greetings,
Alessandro


Replies (3)

RE: Authentication with Redmine.pm keeps failing - Added by Brad Rushworth almost 16 years ago

I hope you have remembered to actually fill in your database name, username and password into the Apache config above?

Look in your apache error log /var/log/httpd-error.log

Brad

RE: Authentication with Redmine.pm keeps failing - Added by Brad Rushworth almost 16 years ago

Also...

You cannot authenticate and look at /svn in the above example. This is annoying me too.

You will notice that you can view /svn/MyRepositoryName though. You cannot view the parent directory with the current version. Shouldn't Redmine administrators be able to view the parent directory?

Note that the repository name needs to match exactly with the Redmine project identifier name. Why is this? Why isn't it matching against the repository configured in the Redmine "Settings".

RE: Authentication with Redmine.pm keeps failing - Added by Zhaojun WU almost 16 years ago

I met this problem as well. Besides that, sometimes I even got a signal segmentation fault error when I tried to access the repository via http:

[Wed Feb 18 15:34:18 2009] [notice] child pid 5660 exit signal Segmentation fault (11)

By looking into the source code of Redmine.pm, I finally realized that the problem is caused by the "public" property which was checked by me when I create the project. After unchecked that, I can successfully access the repository via http.

I am not sure if you are in the same situation, but, please double-check that option in the "Setting" of your project.

HTH.

    (1-3/3)