[mod_python] Howto force reload of all modules

hhanke at pdx.edu hhanke at pdx.edu
Tue Sep 4 08:29:54 EDT 2007


Hi,

thank you all for advices. My latest solution was to do 'touch'
on all the top-level modules (I call so the modules containing
the functions that directly render the webpages) on the production
server. When these get 'changed', mod_python needs to reload them,
so it will import/apache.import_module also all the sub-modules
in the run, in all interpreters.

Have a nice day,
Hynek



More information about the Mod_python mailing list