Hi,
I have a vanilla install of Apache 2.2.22 and Python 2.7.3 and the
appropriate module (for Windows). I'm trying to get the Hello World Python
script to work.
I have the following lines in my httpd.conf:
LoadModule wsgi_module modules/mod_wsgi.so
[...]
DocumentRoot "C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/htdocs"
[...]
WSGIScriptAlias /wsgi-scripts/ "C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/wsgi-scripts/"
<Directory "C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/wsgi-scripts">
Order allow,deny
Allow from all
</Directory>
When I try to hit a file in /wsgi-scripts/called wsgi_test.py, I get the
following in the Apache log:
[Sun Oct 21 12:10:12 2012] [error] [client 127.0.0.1] File does not exist:
C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/htdocs/wsgi-scripts
WSGIScriptAlias appears to be setting DocumentRoot as the prefix for the
URL rather than mapping directly to the supplied directory.
No other errors are listed from the bootstrap of Apache until this.
Any ideas?
Thanks!
Cameron
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/modwsgi/-/QjfngUnDf1UJ.
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.