I am having some problems setting up the mod_wsgi module on a WAMP server with Apache 2.2. I downloaded this mod_wsgi-win32-ap22py27-3.3.so file from the official Google codes page .
I put my module in C:\wamp\bin\apache\apache2.2.22\modules after renaming the file to mod_wsgi.so .
Then I added the following line to the boot modules section:
LoadModule wsgi_module modules/mod_wsgi.so
When I restart the Apache server, it does not start. When I checked the Windows service event log, I found the following error.
The Apache service named reported the following error: >>> httpd.exe: Syntax error on line 128 of C:/wamp/bin/apache/apache2.2.22/conf/httpd.conf: Cannot load C:/wamp/bin/apache/apache2.2.22/modules/mod_wsgi.so into server: The Apache service named is not a valid Win32 application.
Im using the Windows 7 premium with Python 2.7 and Apache 2.2.
Please tell me where I can be wrong.
source share