Description

This is carried over from MoinMoinBugs/1.6NoPageTrailForAnonymousUser

Using auth = [http, moin_session] on a cgi/Apache does not give a correct page trail with moin-1.6.1 for users that are logged in. The page trail contains only one item (the current page).

Example

Config example that does not work (i.e. that gives no page trail):

With moin_session_verbose = True the following log was obtained:

To test properly you have to delete the sessions in cache after each config-change and also to delete the cookies for the wiki that are stored in the browser.

Component selection

Details

MoinMoin Version

1.6.1

OS and Version

Win XP Pro

Python Version

2.5.1

Server Setup

Apache 2.0.59 + modpython-3.3.1

Server Details

ntlm authentication

Language you are using the wiki in (set in the browser/UserPreferences)

en

Workaround

Add anonymous_cookie_lifetime = 1 to the config and moin_anon_session to the auth-list.

Discussion

Problem identified: moin_session checks if login:. This is only True if someone clicked on the login button in the login form and spoils it for about every other auth method than moin_login.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/1.6NoPageTrailWithHttpAuth-SessionConfigPeculiarities (last edited 2008-02-10 17:26:37 by ThomasWaldmann)