5.4.7 PythonHandlerModule

Syntax: PythonHandlerModule module
Context: server config, virtual host, directory, htaccess
Override: not None
Module: mod_python.c

PythonHandlerModule can be used an alternative to Python*Handler directives. The module specified in this handler will be searched for existence of functions matching the default handler function names, and if a function is found, it will be executed.

For example, instead of:

  PythonAutenHandler mymodule
  PythonHandler mymodule
  PythonLogHandler mymodule

one can simply say

  PythonHandlerModule mymodule