Question
I am trying to setup TWiki as my org's intranet site. I have run thr' the installation steps and am stuck at User log-in. User registration is working fine. I get the mail notification etc. But when I log-in, it accepts the user and returns to the page from where I log-in without my name etc apperaing on the navigation bar. Also, when I try editing a page like view.cgi/TWiki/WebHome, I get an access denied message (
http://.../twiki/bin/oops/TWiki/WebHome?template=oopsaccessdenied;def=topic_access;param1=change;param2=access%20not%20allowed%20on%20web
)
I am not using Sessions.
Environment
--
BaanBapat - 18 Dec 2006
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.
The TWiki web is locked down to members of the
TWikiAdminGroup by default. Add your
WikiName to that group.
Make sure authentication is working properly. Edit any topic in the Sandbox web, the signature below the edit box should show your name.
Also, only with session tracking your username will be known in view.
--
PeterThoeny - 18 Dec 2006
Authentication does seem to be working since (a) .htpasswd is updated, (b)
WikiName.txt and .txt,v are getting created. However, when I log in, although the system flow is directed to the original page from which the login form was called, my
WikiName does not appear in the navigation pane, nor in the signature box in the Sandbox.
Let me try setting up sessions tracking -- setting up CGI Sessions does not seem to be straightforward .
Yes, I have added myself to the
TWikiAdminGroup and the pages are appropriately locked down awaiting authentication.
--
BaanBapat - 19 Dec 2006
I've found that TWiki requires cookies to work. I've often frustrated myself by login failures until I remember that I have to add a newly configured site to the list (in my browser) that is allowed to set cookies. ;^) (Note, I am using sessions.)
--
JustinLove - 19 Dec 2006
I'm sorry, but setting cookies is enabled in my browser and that does not appear to be a problem.
--
BaanBapat - 19 Dec 2006
"Authentication does seem to be working since (a) .htpasswd is updated..."
This means that registration is working. Authentication is a different animal. You need to configure TWiki to prompt you for login when you hit "edit" or "login". This is done with template login or Apache login. See
TWikiUserAuthentication.
--
PeterThoeny - 19 Dec 2006
That has been done as well...See attached configuration file
--
BaanBapat - 21 Dec 2006
Well, I have replaced apache2triad with apache2.2 and Activestate Perl 5.6.1. With 2 hours of work (and all the learning from the earlier attempts) I have successfully setup TWiki on my PC, with TemplateLogin and Session. ApacheLogin does not offer the auth pop-up, will have to see why that is the case... since I will be integrating intranet with LDAP ... but this is excellent to start with.
Thank you all for the product and support!
--
BaanBapat - 22 Dec 2006
Glad it worked out. For LDAP, see
LdapContrib.
--
PeterThoeny - 24 Dec 2006