Index: src/mod_python.c =================================================================== --- src/mod_python.c (revision 231019) +++ src/mod_python.c (working copy) @@ -1664,7 +1664,16 @@ python_directive_handler(cmd, mconfig, "PythonLogHandler", val, SILENT); python_directive_handler(cmd, mconfig, "PythonCleanupHandler", val, SILENT); + /* + * XXX There is a bug here with PythonConnectionHandler which can + * cause an infinite loop when the handler is added to the handler + * list. Cause is unknown so simply disable it for now. If someone + * really needs a connection handler, they can use the directive + * PythonConnectionHandler explicitly still and not rely on the + * PythonHandlerModule directive doing it automatically. + * python_directive_handler(cmd, srv_conf, "PythonConnectionHandler", val, SILENT); + */ return NULL; } Index: src/include/mod_python.h =================================================================== --- src/include/mod_python.h (revision 231019) +++ src/include/mod_python.h (working copy) @@ -93,8 +93,8 @@ #define MAIN_INTERPRETER "main_interpreter" /* used in python_directive_handler */ -#define SILENT 0 -#define NOTSILENT 1 +#define SILENT 1 +#define NOTSILENT 0 /* hopefully this will go away */ #define MAX_LOCKS 32