= Description = When using mod_python, I can no longer redirect the logout request. == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. Our internal authentication system works similar to http authentication, but the user must request a page from the authentication server in order to complete logout. I redirected logout via the following while under cgi == Example == {{{#!python def weblogin(request, **kw): from MoinMoin.user import User user_obj = kw.get('user_obj') logout = kw.get('logout') u = None if logout: url = u'http://server/logout' request.http_redirect(url) return user_obj, True ... }}} Is this approach correct in the first place? This worked under my initial setup using cgi, but breaks under mod_python. I can hijack the logout by modifying {{{MoinMoin/theme/__init__.py}}} , but I would like to keep all my code separate for obvious maintenance reasons. == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## attachment:traceback.html ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''MoinMoin Release 1.5.7 [Revision release]''' || || || '''Apache 2.0.52-28.ent.centos4 ''' || || || '''Python Version 2.5 (r25:51908)''' || || || '''Apache/mod_python-3.2.10''' || || || '''CentOS-4 (RHEL4)''' || || || '''English''' || || = Discussion = I guess the problem is related to not calling request.finish(). This needs someone running mod_python to debug the request code. = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: JohannesBerg * Status: Please reopen if problem persists with new auth framework. -- JohannesBerg ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed