I really was confused about the multiple apache processes. I tried it with several configurations and it works as expected and described in the docs.
Thanks for your help! Alex. -- [EMAIL PROTECTED] On 08.03.2008, at 11:57, Graham Dumpleton wrote: > > On Mar 8, 9:09 am, Alex Greif <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am trying to turn off script reloading but without any success. >> I did the following: >> - in the apache httpd.conf I set "WSGIScriptReloading Off" >> - in my web.py script I use "web.application(urls, globals(), >> autoreload=False).wsgifunc()" >> >> making changes on the my webpy script somehow causes either web.py or >> the mod_wsgi to reload the script. >> Any Ideas how to disable reloading? >> >> I am using the webpy.dev branch with Apache/2.2.8 (Unix) mod_wsgi/ >> 2.0c4 Python/2.5.1 > > One what basis do you believe it is being reloaded, debug statements, > something else? > > What is the WSGIScriptAlias directive you are using? What is the full > path name of the script file you are changing, is it the same file as > the RHS of the WSGIScriptAlias directive? > > Have you enabled more expansive debugging in Apache, ie. > > LogLevel info > > so that mod_wsgi outputs messages when it is loading and/or reloading > a script? Have you confirmed whether mod_wsgi is saying it is > reloading the script and that it is actually for the same process ID. > > I mention the latter about process IDs as Apache is a multi process > server and so want to make sure you aren't confused between the script > file being reloaded, or a completely new Apache child process loading > it. > > Graham > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
