[mod_python] [SPAM] Hello, (Re) importing module

huanghao.c huanghao.c at gmail.com
Sat May 19 03:14:24 EDT 2007


I got many notices in apache error_log:

[Sat May 19 14:52:27 2007] [notice] mod_python: (Re)importing module
[Sat May 19 14:54:11 2007] [notice] mod_python: (Re)importing module

my apache conf:
<Directory /data/wwwroot/vhosts/hao.com/htdocs>
<IfModule mod_python.c>
PythonOptimize On
PythonAutoReload Off
PythonDebug On
PythonOption session_directory /data/wwwroot/vhosts/hao.com/tmp
PythonOption mutex_directory /data/wwwroot/vhosts/hao.com/tmp
SetHandler python-program
PythonHandler handler

have problem?
how to avoid re-importing handler module in every time? I care that may
effect my mod_python performance.

thanks in advance.

More information about the Mod_python mailing list