Python interested me as a web scripting language so I wanted to set it up on my testing server.
Cannot get Apache to restart with mod_wsgi
. Running xampp v win32-1.8 w/apache v2.4, python v2.7 32bit, on win7 64bit. The registry files I see for Python are in hkey_classes_root
. I not sure if that should be right but there are none in the hkey_current_user
. The one in hkey_local_machine
says default value not set.
This is what I get when I run apache_start.bat
Apache 2 is starting ...
httpd.exe: Syntax error on line 141 of C:/xampp/apache/conf/httpd.conf: Cannot load C:/xampp/apache/modules/mod_wsgi.so into server: The specified procedure could not be found.
What I have added to httpd.conf:
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias /wsgi_handler "C:/xampp/wsgi/mywsgi.py"
<Directory "C:/xampp/wsgi">
Order allow,deny
Allow from all
</Directory>