• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Logins no longer worked after I upgraded from DEVELOP 7245 to dakar-beta4 7330.

The symptom is an infinite loop, a cyclic 302 redirect returned from the server when accessing protected webs, or attempting to login.

Two admin actions re-enabled logins:

  • replacing lib/TWiki/Client.pm from my previous working install (snv 7245, 31 Oct 2005).
  • turning off the cfg{UseClientSession}

I can't reproduce this. Do you have any rewriting rules? What is your LoginManager? Do you have a .htaccess? What does it contain?


I'm using TWiki::Client::ApacheLogin for the login manager, and using .htaccess files --- to auth both pub/Web and data/Web directories.

In the bin/ directory, the .htaccess file has only one modification beyond the replacement of {...} fields:

+ <Files "logoutfile">
+       require user logoutuser
+ </Files>
the redirect must be pointing to a file that does not prompt the Apache login screen. I'll go reconfirm the setup is correct.


Upadate: OK. Found the problem in my .htaccess file: login was in the authentication list, logon was not. Adding logon to the FilesMatch list solved the problem.

Thanks for looking in to it, CC.

Summary authentication returns cyclic 302 redirect in dakar-beta4 with UseClientSession = 1
ReportedBy ScottHoge
AppliesTo Engine

Priority Normal
CurrentState No Action Required

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2005-11-09 - ScottHoge
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback