5.1.5 PythonInitHandler

Syntax: Python*Handler Syntax
Context: server config, virtual host, directory, htaccess
Override: not None
Module: mod_python.c

This handler is the first handler called in the request processing phases that is allowed both inside and outside .htaccess and directory.

Where multiple handlers are specified, if any handler in the sequence returns a value other than apache.OK or apache.DECLINED, then execution of all subsequent handlers for this phase are aborted.

This handler is actually an alias to two different handlers. When specified in the main config file outside any directory tags, it is an alias to PostReadRequestHandler. When specified inside directory (where PostReadRequestHandler is not allowed), it aliases to PythonHeaderParserHandler.

(This idea was borrowed from mod_perl)