Tags:
create new tag
view all tags

Bug: viewauth with SessionPlugin fails with SpeedyCGI

The viewauth together with the SessionPlugin still does not seems to be fully compatible with mod_perl/SpeedyCGI.

I also reported this in SessionPluginDev but the bug may actually be in the viewauth script and then it is more a bug in core TWiki. With the slow performance of TWiki it is important that it can run with mod_perl (or at least SpeedyCGI).

Test case

All tests are done on an Apache 2.0.52 on Linux. The tests done.

  1. Open a TWiki page with a freshly opened browser.
  2. Navigate around and notice that the WebLeftBar shows the logon at the bottom. No user left bar
  3. a. Either click the logon link on the left menu bar.
  4. b. Or edit a page and cancel out.
  5. In both cases this should cause an authentication and from then on you should be known so that any further editing does not require authentication and the left manu bar should include your user bar and not show the login link.

At least it fails on my installation when running SpeedyCGI. Here are the failure modes.

Only CGI - SpeedyCGI is deactivated Plugin works
view,edit,save etc runs under SpeedyCGI.

viewauth runs under normal CGI
When you start by pressing login the plugin works and you can edit a page after without authentication.
If you start by editing (getting authenticated) the left menu bar still only shows the logon. When you press logon you get authenticated and then it seems to work. In practical this is too confusing for the user.
All bin perl scripts run under SpeedyCGI The plugin does not work well at all. The left menu bar keeps on going back to the initial logon screen.

So there is still some static global variable left to be eliminated before this plugin is fully mod_perl/SpeedyCGI compatible. I am not sure if the issue is in viewauth or the Plugin itself so maybe I should also file this as a regular bug in codev.

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora Core2, kernel 2.6.7 stock
Web server: Apache 2.0.52
Perl version: 5.8.3
Client OS: Win XP SP2
Web Browser: IE6 and Firefox

-- KennethLavrsen - 03 Oct 2004

Follow up

Fix record

WebForm
TopicClassification BugReport
TopicSummary The viewauth together with the SessionPlugin still does not seems to be fully compatible with mod_perl/SpeedyCGI.
InterestedParties

AssignedTo

AssignedToCore

ScheduledFor

RelatedTopics

SpecProgress

ImplProgress

DocProgress

Topic revision: r1 - 2004-10-03 - KennethLavrsen
 
  • 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.