Apache Mod-Python - Created: (MODPYTHON-166) PythonHandlerModule doesn't set up

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > April 2006 > Created: (MODPYTHON-166) PythonHandlerModule doesn't set up





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-166) PythonHandlerModule doesn't set up
Graham Dumpleton (JIRA)

2006-04-24, 8:02 am

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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com