Released version 2.3 to fix this. 2008/8/23 Graham Dumpleton <[EMAIL PROTECTED]>: > Okay, confirmed on MacOS X 10.5. > > It only happens when WSGIDaemonProcess directive used with mod_wsgi. > > Patch is: > > Index: mod_wsgi.c > =================================================================== > --- mod_wsgi.c (revision 1001) > +++ mod_wsgi.c (working copy) > @@ -8873,7 +8873,8 @@ > * up properly on a restart and on shutdown. > */ > > - apr_pool_cleanup_register(p, entry, wsgi_cleanup_process, NULL); > + apr_pool_cleanup_register(p, entry, wsgi_cleanup_process, > + apr_pool_cleanup_null); > > /* > * If there is more than one daemon process in the group > > I guess a mod_wsgi 2.3 will be in order, but need to also fix > setprocttitle() call first as well. :-) > > Graham > > 2008/8/23 Graham Dumpleton <[EMAIL PROTECTED]>: >> Right now I cant see how mod_wsgi 2.2 changes could be affecting CGI >> scripts, so please excuse me asking a few more stupid questions. >> >> 1. What language are the CGI scripts that are failing written in? >> >> 2. What is the Apache configuration snippet being used to enable >> execution of those CGI scripts? >> >> 3. What is the Apache configuration snippet being used to enable WSGI >> application? >> >> 4. Is mod_python being loaded at the same time? >> >> Graham >> >> 2008/8/23 Douglas Thrift <[EMAIL PROTECTED]>: >>> >>> mod_cgi >>> _______________________________________________________________________ >>> Douglas William Thrift >>> <[EMAIL PROTECTED]> >>> <http://www.douglasthrift.net> >>> >>> ----- Original Message ----- >>> From: "Graham Dumpleton" <[EMAIL PROTECTED]> >>> To: <modwsgi@googlegroups.com> >>> Sent: Saturday, August 23, 2008 3:57 AM >>> Subject: [modwsgi] Re: mod_wsgi 2.2 seems to be breaking CGI >>> >>> >>>> >>>> Are you using mod_cgi or mod_cgid? >>>> >>>> Graham >>>> >>>> 2008/8/23 Douglas Thrift <[EMAIL PROTECTED]>: >>>>> >>>>> Hello, >>>>> >>>>> This is really strange, but after upgrading from 2.1 I was looking at my >>>>> website and noticed that all of my CGI scripts were returning 500 errors >>>>> and >>>>> in the log it was just saying "Premature end of script headers" while >>>>> running the scripts in the shell everything was working fine. >>>>> >>>>> I disabled mod_wsgi and restarted Apache and CGI scripts worked again. >>>>> So I >>>>> downgraded back to 2.1 and reenabled mod_wsgi and everything was happy >>>>> again. >>>>> _______________________________________________________________________ >>>>> Douglas William Thrift >>>>> <[EMAIL PROTECTED]> >>>>> <http://www.douglasthrift.net> >>>>> >>>>> >>>>> > >>>>> >>>> >>>> > >>>> >>> >>> >>> >>> >>> >> >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modwsgi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---