Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux
Web server: Apache 2
Perl version: 5.8.0
Client OS: N/A
Web Browser: N/A
Categories: Authentication

-- PeterThoeny - 31 May 2007

Answer

ALERT! 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

 
Change status to:
Topic revision: r1 - 2007-05-31 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.