On Thu, 25 Oct 2012 22:58:13 +0300, cocobuster <[email protected]>
wrote:
I tried to upgrade mod_wsgi to the newest version 3.4
Here are all the upgrades I have done:
Python 2.6.6 --> 2.7
Django 1.3 -->1.4.2
mod_wsgi-3.3 -->3.4
System Info:
Apache 2.2
Mac osx 10.6.8
Is there a way to verify that mod_wsgi is really running under the new
version 3.4?
thanks
Cocobuster
One way is to check the value of mod_wsgi.version in the environment
dictionary. It helps to have a handy WSGI script showing the environment
and any other information you might want to know. I am using the following
simple WSGI application on my server:
import pprint
import sys
def application(environ, start_response):
status = '200 OK'
headers = [
('Content-type', 'text/plain'),
('Set-cookie', 'world=not hello'),
]
start_response(status, headers)
yield pprint.pformat(environ)
yield '\n'
yield pprint.pformat(sys.path)
yield '\n'
--
You received this message because you are subscribed to the Google Groups
"modwsgi" 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/modwsgi?hl=en.