PythonOption action-path is required but undocumented

Bug #681525 reported by Forest
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apache OpenID
New
Undecided
Unassigned

Bug Description

The README says:

"When you're using this default configuration, the location of the login screen will default to '+login' within the root of the directory that you put the PythonAccessHandler directive."

This appears to be out of date. By default, it uses the hlist.location member of a mod_python Request object to determine the path for actions like '+login'. Unfortunately, htlist.location is always None on my Ubuntu Lucid system. In fact, Request.hlist isn't even a documented part of mod_python. The result: apache-openid raises an unhandled exception (AttributeError: 'NoneType' object has no attribute 'endswith') and triggers an apache internal server error.

So apache-openid's actual default behavior is to not work at all.

Some investigation revealed that setting an action-path PythonOption can work around the problem. As far as I can tell, this is not documented.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.