Basic question: apache authentication
i'm sure it's quiet simple, i set wothin vhost conf:
Authname "Redmine Project Tracking"
PerlSetVar dsn DBI:mysql:database=redmine;host=localhost
PerlSetVar db_user xxx
PerlSetVar db_pass xxx
as mentioned within documentation.
After restarting apache i am prompted for a username and password on /svn ... ok.
But which usernam/pwd to use here?
I tried admin/admin and 2 other users i already created within redmine through WEBrick server connection wehre everything works fine.
thx & regards
RE: Basic question: apache authentication - Added by Anonymous almost 11 years ago
Do you mean the xxx in "PerlSetVar db_user xxx" and "PerlSetVar db_pass xxx"?
These username/passwords are the ones for the (mysql) redmine database. The perl script goes directly to the database table to check the authentication info (which you are prompted for).
Eeeeh, Ok, i in fact hat a typo within admin pwd...but now if i set it correct in got an Internal Server Error, error log says:
"Can't call method "prepare" on an undefined value at /usr/lib/apache2/Redmine.pm line 149."
Seems that it can't connect to database but i have no idea why...tried host=localhost host=127.0.0.1 nothing helps.
DB Server is on localhost.
Any hints again?
thx & regards
Sorry, total confusion:
if i set db_user and db_pass correct, he prompts me for username/password.
but if i insert here a valid user from redmine users table i can't get in.
forget my last post.