I am attempting to put WSGI (python) on a WAMP server (Apache 2.2.21, Python 2.7, WAMP 2.2a). Unfortunately, when i add just a simple directory directive and restart, Apache won't start. here is the code:
LoadModule wsgi_module modules/mod_wsgi.so
<Directory “C:/wamp/www/python”>
#Options ExecCGI
#AddHandler wsgi-script .py
#Order allow,deny
#Allow from all
</Directory>
If I comment out the directory tags, like this:
LoadModule wsgi_module modules/mod_wsgi.so
#<Directory “C:/wamp/www/python”>
#Options ExecCGI
#AddHandler wsgi-script .py
#Order allow,deny
#Allow from all
#</Directory>
It starts. Why won't this work (it also doesn't work with everything uncommented)? I followed all of the directions on this tutorial. Other than the changes in the code snippets, I have changed nothing in httpd.conf, other than including the file that contains the code snippet. I did that with:
Include conf/extra/changes.conf
on the very last line.