Question
We installed TWiki on a RedHat Enterprise Linux system with Plesk control panel. Enabling basic auth with
TWiki::Client::ApacheLogin, login failed for registered users. All settings look OK, also the entries in
twiki/data/.htpasswd.
Environment
--
PeterThoeny - 31 May 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
The problem was a 600 permission (
-rw-------) of
twiki/data/.htpasswd. Apache in this Plesk based system is configured to use a different user for each virtual site. Even though the
.htpasswd was owned by the local Apache user, Apache was not able to read it. Changing the permission to 644 solved the problem.
--
PeterThoeny - 31 May 2007
Related support topics on
basic authentication:
BasicAuthenicationOnLinux,
BasicAuthentication,
BasicAuthenticationChangePassword,
HowToMakeBasicAuthenticationWork,
HowToMigrateFromBasicAuthToLDAP
--
PeterThoeny - 31 May 2007