Uploaded image for project: 'mod_python'
  1. mod_python
  2. MODPYTHON-166

PythonHandlerModule doesn't set up PythonAuthenHandler registration.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.4, 3.2.8
    • 3.3.1
    • core
    • None

    Description

      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);

      1. 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

      Attachments

        Activity

          People

            grahamd Graham Phillip Dumpleton
            grahamd Graham Phillip Dumpleton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: