Project

General

Profile

SVN/Mercurial not loggin in? 500 Server error

Added by Jorge S. almost 11 years ago

My problem is that whatever thing I put in the auth prompt browsing repos.dev01/svn/test I get a 500 Internal Server Error.

This is my site's config:

<VirtualHost *:80>
ServerName repos.dev01.intranet.fusiondev.com.ar
DocumentRoot /var/www/repos.dev01/
ServerAdmin
LogLevel warn
ErrorLog /var/log/apache2/repos_error
CustomLog /var/log/apache2/repos_access combined
  1. Use PerlLoadModule Apache2::Redmine when using apache2, or else you might get$

PerlLoadModule Apache::Redmine
PerlLoadModule Apache::DBI
ScriptAliasMatch /hg(.*) "/var/mercurial/hgwebdir.cgi$1"
#ScriptAlias /hg "/var/mercurial/hgwebdir.cgi"
<Location ~ "^/hg.*">
AuthType Basic
AuthName "Redmine Mercurial Repository"
Require valid-user

#Redmine auth
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:mysql:database=redmine;host=127.0.0.1"
RedmineDbUser "redmine"
RedmineDbPass "xxxx"
</Location>
  1. /svn location for users
    <Location ~ "^/svn.*">
    DAV svn
    SVNParentPath "/var/svn"
    Order deny,allow
    Deny from all
    Satisfy any
    PerlAccessHandler Apache::Authn::Redmine::access_handler
    PerlAuthenHandler Apache::Authn::Redmine::authen_handler
    AuthType Basic
    AuthName "Redmine SVN Repository"
    Require valid-user
    RedmineDSN "DBI:mysql:database=redmine;host=127.0.0.1"
    RedmineDbUser "redmine"
    RedmineDbPass "xxxx"
    </Location>

</VirtualHost>

Removing the auth makes it work, I am added in the project.

Any help?

Thanks!