Tags:
create new tag
view all tags

Question

I just set up my first twiki. Nice work all! :-). W/e I reg test user they don't show up in .htaccess in the bin folder and I cannot log in as an Admin and I cannot edit the TWikiAdminGroup. I see user Reg but if I try something like change password the interface tells me that the user is not a valid user, again I can see the user in the list of users. Visit the twiki at http://www.karlsbadcabin.com/cgi-bin/twikibin/view.pl

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Hosted server
Web server: Apache
Perl version:  
Client OS: Fedora 4
Web Browser: firefox
Categories:  

-- KarlLeslie - 02 Sep 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.

Hi Karl

I see a couple of problems with your installation:

  1. Your pub folder is not public, so style sheets are not loaded. See the test page on http://www.karlsbadcabin.com/cgi-bin/twikibin/testenv.pl
  2. You are running Linux, so I don't see why you would need to rename all script files to end on pl.
  3. In TWiki.TWikiPreferences, add to USERSTYLEURL the value empty.css. Do the same for USERLAYOUTURL. See TWikiPreferences for an example. Attach the (empty) file empty.css from PatternSkin to your own TWiki.PatternSkin topic. Without this you may encounter the strangest problems.
  4. You must add yourself to Main.TWikiAdminGroup (see instructions there), this will give you rights to edit restricted pages.

-- ArthurClemens - 02 Sep 2005

New users are not added to .htaccess in the bin directory, they get added to twiki/data/.htpasswd.

Please follow the instructions at TWikiInstallationGuide . Specifically, you need to copy TWikiRegistrationPub topic to TWikiRegistration.

If you locked yourself out of the TWikiAdminGroup you need to edit the twiki/data/Main/TWikiAdminGroup.txt file from the shell level. Once authentication is working properly and you are part of the admin group you will be able to change it from the browser.

-- PeterThoeny - 02 Sep 2005

Thanks for the responce. I cannot change the owner of files or folders on my hosting service. i could see the Style Sheets because I was the owner. I copied the .htaccess file. thanks .pl extensions are required by my hosting service.

took care of part three-- thanks

I what to add myself to TWikiAdminGroup but part a. tells you to make sure auth works. This is my problem because it does not?

Sorry PeterThoeny I miss typed. I ment .htpasswd. I;ll look at that document.

Thanks in advance smile

-- KarlLeslie - 02 Sep 2005

Ok I did all the above. When I create a new user and then go to there user info under Password change I see this --> Related topics

* ChangePassword?

And in the .htpasswd file no entry in made for the new user?

Cheers

-- KarlLeslie - 02 Sep 2005

Your urls have a double slash in them, for instance: http://www.karlsbadcabin.com/cgi-bin/twikibin//view.pl/TWiki/TWikiRegistration. Maybe this has something to do with it.

-- ArthurClemens - 03 Sep 2005

Linux allows double forward slash in file names, I do not think that this is the cause.

Make sure .htpasswd is writable by the kleslie user.

The template has an error, the reason why you see a question mark link for ChangePassword. I fixed that on your site.

Authentication is not working, it did not prompt me for login when editing the topic. You need to fix your bin/.htpasswd. Your ISP might disable local .htpasswd, in which case you need to use the Apache config file.

-- PeterThoeny - 04 Sep 2005

I have noticed the double slash. Thanks for pointing it out. I need to edit the .conf file. .htpasswd is editable by kleslie user. I turned auth off because even though users could logon the .htpasswd file was not being updated. There might be an issue as to what auth types my hosting service uses. I have a ticket in with them now. Thanks for fixing the ChangePassword issue. I will turn on Auth and maybe you or someone knows about something else besides my hosting service's htpasswd format issue. They support a standard that was not in the list the twiki supports.

-- KarlLeslie - 05 Sep 2005

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2005-11-01 - PeterThoeny
 
  • 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.