Is it possible that cpanel or the service provider is overwriting your mod_wsgi 
with older version if you had replace it?

Check that is still the correct mod_wsgi version by looking at the 
mod_wsgi.version value in the WSGI environ dictionary.

Graham

> On 28 Sep 2016, at 2:06 AM, Joshua Harwood <[email protected]> wrote:
> 
> I was developing the other day and I noticed that this issue is back.
> 
> I put the this test code back in and it is only printing STDERR 1.
> 
> import sys
> 
> print ('STDERR 1', file=sys.stderr)
> 
> def application(environ, start_response):
> 
>     print ('STDERR 2', file=sys.stderr)
>     print ('WSGI 1', file=environ['wsgi.errors'])
> 
>     status = u'200 OK'
>     output = b'Hello World!'
> 
>     response_headers = [('Content-type', 'text/plain')]
>     start_response(status, response_headers)
> 
>     return [output]
> 
> I am still using Apache 2.4.23 with modwsgi 4.5.6.
> My virtual host file is the same as above (except for changes Graham 
> mentioned above).
> Do you guys think this could be an issue with cPanel? I ask because I have a 
> CentOS + Webmin server and it works fine.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to