Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: WinXP
Web server: Apache/2.0.54 (Apache2Triad 1.5.3)
Perl version: 5.8.7
Client OS: WinXP
Web Browser: IE6
Categories: Authentication, Authorisation

-- BaanBapat - 18 Dec 2006

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.

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

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm TWiki_Configuration.htm r1 manage 170.4 K 2006-12-18 - 12:50 UnknownUser My config file
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2006-12-24 - 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.