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
--
KarlLeslie - 02 Sep 2005
Answer
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:
- 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
- You are running Linux, so I don't see why you would need to rename all script files to end on
pl.
- 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.
- 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
--
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