Tags:
create new tag
view all tags

Question

Users can not log in. I was getting the same error message as described in http://twiki.org/cgi-bin/view/Support/AuthenticationErrors and was able to use that information to correct the redirect, but still unable to log in.

I have twiki installed in http://boonedrafting.org/twiki and the testenv is at http://boonedrafting.org/twiki/bin/testenv

The .htpasswd file does get updated when new users register and the confirmation email is sent. If I comment out

<Files "edit">
       require valid-user
</Files>
and
<Files "save">
       require valid-user
</Files>
in /twiki/bin/.htaccess then I can edit the pages and the changes show up in the revision list with the default user name. But I need to be able to track who makes the changes to give proper credit so I want to require users to log in to edit. (I'm planning to use this for project management with students.)

The other support topics I've read lead me to believe this may be a conflict with Apache. But I think I've changed everything I can with this account. Can anyone see anything else I might be missing?

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Unix (linux)
Web server: Apache/1.3.33
Perl version: 5.8.1
Client OS: Windows XP SP@, Windows ME
Web Browser: MSIE 6.0, Firefox
Categories: Installation, Htaccess, Authentication

-- TimVanSant - 30 Nov 2005

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I guess that Apache doesn't find the location of the .htpasswd file where your registration stores the user/password pairs.

Please check the following two settings in your Apache config, which should be somewhere above your <Files> directives:

  AuthType Basic
  AuthUserFile /home/boonedra/public_html/twiki/data/.htpasswd

-- HaraldJoerg - 30 Nov 2005

This is hosted on a shared server so I can't change the Apache config. I guess I'll try leaving it openly editable and see how it goes.

Thanks,

-- TimVanSant - 01 Dec 2005

Look in bin/.htaccess. If you don't have one copy bin/.htaccess.txt to make one and edit that for the above lines.

-- MartinCleaver - 01 Dec 2005

I reinstalled a second time to the same folders and it still didn't work. So I created a whole new set of folders and did a fresh installation. Third try was charmed because it works now, but I'm still not sure what the problem was. I did have to include

AuthName 'Enter your UserName...'
in addition to the suggestions above. If I ever figure out what I messed up the fist time, I'll come back and post it. Thanks for the help. I'm excited to try this with my students. -- TimVanSant - 05 Dec 2005
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-12-05 - TimVanSant
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.