Tags:
create new tag
view all tags

Question

Via configure, I've changed the LoginManager to be TWiki::Client::TemplateLogin from TWiki::Client::ApacheLogin, leaving all other settings alone (including AuthScripts). But now when I attempt to edit a topic, I'm being prompted for username/password twice -- once from the web server (it seems) and a second time by the TWiki login template form. Shouldn't the first instance have been disabled? How can I disable that initial authentication request?

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: SpreadSheetPlugin (any TWiki, 10197), CommentPlugin (Dakar, 11359), EditTablePlugin (any TWiki, 11646), InterwikiPlugin (Dakar, $Rev: 11935$), PreferencesPlugin (Dakar, 9839), RenderListPlugin (any TWiki, 1.034), SlideShowPlugin (Any TWiki, $Rev: 12013$), SmiliesPlugin (Dakar, 8154), TablePlugin (1.020, 12339), TwistyPlugin (1.2.0, $Rev: 12154$), WysiwygPlugin (Dakar, 12422)
Server OS: Linux 2.4.21-40.elsmp (i686-linux)
Web server: Apache/2.0.46 (Red Hat)
Perl version: 5.008001 (linux)
Client OS: MS Windows XP Pro, SP2
Web Browser: IE 6.x, FireFox? 2.x
Categories: Authentication

-- TWikiGuest - 27 Apr 2007

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.

Check your Apache configuration file. Maybe it requires authentication for edit? The original concept of ApacheLogin is that whenever TWiki's access control says that an authentication is required, it redirects to a script with auth appended: edit gets editauth, and Apache should require ValidUser only for these scripts ending in auth. However, often admins take a shortcut and directly authenticate edit etc.

-- HaraldJoerg - 27 Apr 2007

Closing this after more than 30 days inactivity; re-open if needed...

-- PeterThoeny - 02 Jun 2007

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-06-02 - 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.