Tags:
create new tag
view all tags

(Revised) Question

Using TWiki with httpd authentication, I find the user is not being recognised in some places.

TWiki is set up to work with web server authentication, with users authenticating using their TWiki Name.

I have amended the .htaccess file in "bin" to require a valid user for data access actions (e.g. view). This caused me a lot of grief, because I added a space character to the regexp, so that it wasn't actually matching. This caused fairly subtle mis-behaviour: beware!

However, now I have that sorted, I still have one problem:the top of the left bar continually shows "Log in or Register". It does this in addition to the user-specific left bar. If I click on "Log in" it simply redirects back to the same page. So it looks like some parts of TWiki know who the user is, but at least one part is not recognising a known user at all.

What is going on? Have I got something subtly mis-configured? Or is this a bug?

Also, given that I am using http authentication for viewing as well as editing, there is no point in having this link there at all. How can I get rid of it?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: SpreadSheetPlugin, CalendarPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, MacrosPlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin
Server OS: Linux
Web server: Apache 1.3.33
Perl version: 5.6.1
Client OS:  
Web Browser:  
Categories: Installation, Htaccess, Authentication

-- RobertInder - 23 Nov 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.

-- RobertInder - 23 Nov 2006

Have you verified that user sessions are enabled? Run the 'configure' script and check under Security Setup. {UseClientSessions} should be checked. I have seen this type of behavior when it is not.

-- RickMach - 24 Nov 2006

lack of a response suggests this is closed

-- CrawfordCurrie - 16 Dec 2006

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm configure.htm r2 r1 manage 145.5 K 2006-11-23 - 16:10 UnknownUser  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-12-16 - CrawfordCurrie
 
  • 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.