mod_python and updated files
Daniel Klein
danielk at featherbrain.net
Mon Aug 18 12:39:56 EDT 2008
On Mon, 18 Aug 2008 09:16:13 -0700 (PDT), Aaron Scott
<aaron.hildebrandt at gmail.com> wrote:
>I have mod_python running on my server, but when I chance a Python
>file on the server, Apache needs to be restarted in order to have the
>changes take effect. I assume this is so mod_python can run
>persistently, but it's becoming quite a headache for development. Is
>there a way to turn off the persistence, or a way to force mod_python
>to compile and run the new version of the file?
Add this to your Apache httpd.conf:
MaxRequestsPerChild 1
Not something you want to leave set on a production server.
Dan
More information about the Python-list
mailing list