Hi Everyone,
so I presume I have installed mod_wsgi correctly
I am running apache2.2 and the module is appearing in the modules
folder
when i run the hello world app it will not run
<VirtualHost *:80>
DocumentRoot /var/www/vhosts/zevenwolf.com/httpdocs
ServerName www.zevenwolf.com
ServerAlias zevenwolf.com zevenrodriguez.com www.zevenrodriguez.com
zevenwithaz.com ww$
ErrorLog logs/zevenwolf.com-error_log
CustomLog logs/zevenwolf.com-access_log common
<Directory /var/www/vhosts/zevenwolf.com/httpdocs>
AllowOverride All
</Directory>
ScriptAlias /cgi-bin/ /var/www/vhosts/zevenwolf.com/cgi-bin/
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias /python_projects /var/www/vhosts/zevenwolf.com/
python_projects.wsgi
Alias /python_projects/static /var/www/vhosts/zevenwolf.com/
python_projects/static
AddType text/html .py
<Directory /var/www/vhosts/zevenwolf.com/python_projects>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
and this is the code i am running in the hello.py with in the
directory
def application(environ, start_response):
status = '200 OK'
output = 'Hello World!'
response_headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, response_headers)
return [output]
what could i look at that will tell me that this is installed
correctly
thanks
--
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.