PythonHandlerModule doesn't set up PythonAuthenHandler registration.
--------------------------------------------------------------------

         Key: MODPYTHON-166
         URL: http://issues.apache.org/jira/browse/MODPYTHON-166
     Project: mod_python
        Type: Bug

  Components: core  
    Versions: 3.1.4, 3.2.8    
    Reporter: Graham Dumpleton
 Assigned to: Graham Dumpleton 


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



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to