Tags:
create new tag
view all tags

Question

I was having a number of problems with RCS and RcsLite, so as per Matt's recommendation, I installed the beta version of TWiki.

I've set up TWiki.cfg and moved .htaccess.txt to .htaccess

I can get to my site and browse around. I added myself as a user and I now show up on the TWikiUsers page. When I registered myself, the registration process did not ask me for a password. I tried the WikiName as a password but this didn't work. Since I couldn't log in to edit, I went to the Reset Password form and reset my password. But, I still can't log in. So, I checked the .htaccess file and it appears my encrypted password did not change.

At this point I'm not sure if I have an RCS problem or an authentication problem.

my testenv results are pretty clean, but I do get the warning that my CGI script is not running as user "nobody". I think I have to do this ( since I am in a hosted environment ). So, I deleted all my *.txt,v files.

Still I can create a new TWikiUser, can reset their password, but can't log in.

Can someone please send me in a fruitful direction?

Thanks in Advance,

Chris Vogel

Environment

TWiki version: TWikiBetaRelease
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: linux
Web server: Apache 1.3.29
Perl version: 5.8.1
Client OS: Winxp
Web Browser: Ie

-- ChrisVogel - 23 Apr 2004

Answer

sounds like you missed the step about how to choose which registration page (TWikiUserAuthentication. TWiki ships with the corporate (intranet) registration form turned on by default.

From the file system 1) Rename TWikiRegistration.txt to TWikiRegistrationCorp.txt, 2) rename TWikiRegistrationPub.txt to TWikiRegistration.txt

for your existing account, run htpasswd from the shell to set your password to you don't have to go though the bother of deleting your account and user page. Hmm, on second thought, you might want to go through the bother so you know how it's done. smile

-- MattWilkie - 23 Apr 2004

Question

Hi Matt:

I'm not running on a corporate intranet, but I tried your suggestions anyhow.

I renamed the TWikiRegistration* files as you suggested above. Then I tried deleting the account and user page, but this required a login, so I couldn't do it. I then tried running ./.htpasswd and it said "permission denied". So, I didn't get anywhere there. I'm not sure what the syntax should be for running .htpasswd.

So, I couldn't delete myself, I couldn't change my password, so I created a new user. This user did display on the TWikiUsers page. When I tried to edit a page under the new user, the username and password didn't work! So, I tried changing the user name from UserName to Main.UserName in .htpasswd. This didn't work either.

Do I need to set up a Group first or something?

Waaaahh! Aaargh!

Hope you have some more ideas.

Regards,

Chris Vogel

Perhaps you should disable authentication for now (rename .htaccess to something else), get everything else working and then come back to it later when everything is not new and confusing. For most systems password protection is not really necessary for the first while anyway. With authentication turned off you should have no problem deleting the user account.

htpasswd is a pogram which comes with apache, it lives in or /usr/bin or /usr/local/apache/bin or somewhere else depending on your system. Instructions for use: http://httpd.apache.org/docs/programs/htpasswd.html dot htpasswd, .htpasswd , is the data file for htpasswd and can't be run which is why your './.htpasswd' command didn't work.

As for why your new test user and password don't work, I'm not sure. Remember that passwords are case sensitve. Look at the contents of .htpasswd and see if your new user is listed. If it's not there somebody else will have to help.

-- MattWilkie - 25 Apr 2004

Results

Hi Matt:

Thanks for the suggestions. I copied the .htaccess to another file name. Then "cleaned out" the original. I still needed the line: SetHandler cgi-script

Now I don't have to log in. It does appear that with the Beta version of TWiki, that RCS is now sort of working for me. I can edit pages and the changes "stick" for my next edit. However, my version never increases from 1.1. Is this because I've "gutted" .htaccess?

I'm still not sure why authentication wasn't working. I'll have to look over all the instructions and try it again.

Thanks so much for the help.

Best Regards,

Chris Vogel

The final ( I Hope ) results

Matt, your suggestion of starting without any authentication was the key for me. I carefully went over .htaccess and found a mistake I had made in one of the paths. My site is actually now up and running!

Thanks.

Regards,

Chris Vogel

smile -- MattWilkie - 27 Apr 2004

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2004-04-27 - MattWilkie
 
  • 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.