Tags:
create new tag
view all tags
When I created login names in .htaccess which were identical to the intended WikiName authentication didn't work. I think that should be fixed, or the documentation should be changed to warn administrators not to use a WikiName as a login name.

TWiki version: 01 Dec 2000
Web server: iPlanet-WebServer-Enterprise/4.1SP3
Server OS: AIX 4.3

-- BobBagwill - 05 Jan 2001

Answer

I am not sure if I understand the issue. If .htaccess is enabled (by asking for a password in registration) and a user fills out the form, TWiki will store the WikiName in the .htaccess file. Authentication works later on with this WikiName user account. Registration fails if the user name already exists in .htaccess or if the user topic already exists.

-- PeterThoeny - 06 Mar 2001

Question

Hi there, I am getting a somewhat different error. I have enabled .htaccess (I even manually tested it out by using apache's htpasswd script to add my WikiName to the .htpasswd file in /twiki/data). All seemed to work fine. Then I deleted my htpasswd (I left TWikiGuest and the default other 2 people there) to test the registration script (automatic addition to htpasswd).

I've minimally edited the .htacess.txt file so that the directories etc are working ok. Now when I try to get into the main WebHome page: http://mydomain/twiki/bin/view I get asked for authentication!! However in the htaccess file, only a few functions should have authentication (the default set). view is not one of them. And now, it is too secure. I can't even get to the WebHome in order to register.

What am I doing wrong?

Many thanks, Marie

It seems that you have set your preferences in the htaccess file to include the whole web or set of scripts, and by the way, it should be the .htaccess file, the .htaccess.txt is just there for reference.

-- EdgarBrown - 09 Apr 2001

SupportStatus:
AnsweredQuestions
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2001-04-17 - EdgarBrown
 
  • 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.