Tags:
create new tag
, view all tags

SID-00396: Can't Authenticate users with apache logon

Status: Answered Answered TWiki version: 4.3.1 Perl version:
Category: CategoryAccessControl Server OS: Red Hat Last update: 2 years ago

I have just installed Twiki and am slowly getting to grips with it! (ish)

I have template login working fine, but since this wiki needs to be private, I tried to switch over to Apache authentication.

I followed the instruction in "Restrict access to whole wiki" and edited the .htaccess files as suggested. I changed configure to ApacheLogin

(Note, I have also set up htaccess to redirect from the root directory to the main wiki using the instructions

Now, when I open the wiki, I get the browser popup for logging on, but it does not recognise me.

The user is definitely listed in data/.htpassword

helP?

-- JossSanglier - 2009-07-02

Discussion and Answer

> The user is definitely listed in data/.htpassword

Isn't the file supposed to be named ".htpasswd"? OK, that was probably just a typo. But on the other hand maybe that's all you needed? smile

> but since this wiki needs to be private, I tried to switch over to Apache authentication

I don't follow that reasoning. Apache authentication isn't necessarily more secure.

> and edited the .htaccess files as suggested

Apache makes a strong recommendation to use http.conf instead of .htaccess, "you should never use .htaccess files unless you don't have access to the main server configuration file" (reference). It's for performance reasons (when used, it must look for that file every time a directory is accessed). But I also like the fact that using the conf file puts all the directives in one place, which facilitates troubleshooting. I put them in twiki.conf (using the line Include conf/twiki.conf in http.conf).

-- SeanCMorgan - 2009-07-09

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a subscription for support or engage one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-08-12

Change status to:

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.
SupportForm
Status Answered
Title Can't Authenticate users with apache logon
SupportCategory CategoryAccessControl
TWiki version 4.3.1
Server OS Red Hat
Web server Apache 2
Perl version

Topic revision: r4 - 2009-08-12 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.