Issue Details (XML | Word | Printable)

Key: MODPYTHON-166
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Graham Dumpleton
Reporter: Graham Dumpleton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

PythonHandlerModule doesn't set up PythonAuthenHandler registration.

Created: 21/Apr/06 10:24 AM   Updated: 17/Apr/07 10:42 AM
Return to search
Component/s: core
Affects Version/s: 3.1.4, 3.2.8
Fix Version/s: 3.3.1

Time Tracking:
Not Specified

Resolution Date: 21/Apr/06 10:45 AM


 Description  « Hide
The PythonHandlerModule doesn't set up PythonAuthenHandler registration.

    python_directive_handler(cmd, mconfig, "PythonPostReadRequestHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonTransHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonHeaderParserHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonAccessHandler", val, SILENT);

     # PythonAuthenHandler missing here.

    python_directive_handler(cmd, mconfig, "PythonAuthzHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonTypeHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonInitHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonLogHandler", val, SILENT);
    python_directive_handler(cmd, mconfig, "PythonCleanupHandler", val, SILENT);

This means that if one has Require directive in use in conjunction with PythonHandlerModule, you get a 500 error and message in log of:

  configuration error: couldn't check access. No groups file?: /~grahamd/authz/index.py



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Graham Dumpleton added a comment - 21/Apr/06 10:41 AM
Also missing registration of PythonFixupHandler.