I am trying to install WSGI capability on my Windows version of Apache24. When I try to start the service I get the following in my error.log:
[Wed Dec 23 10:24:33.404057 2015] [ssl:warn] [pid 2960:tid 728] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 23 10:24:33.544690 2015] [ssl:warn] [pid 2960:tid 728] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 23 10:24:33.544690 2015] [wsgi:warn] [pid 2960:tid 728] mod_wsgi: Compiled for Python/2.7.10+.
[Wed Dec 23 10:24:33.544690 2015] [wsgi:warn] [pid 2960:tid 728] mod_wsgi: Runtime using Python/2.7.11.
[Wed Dec 23 10:24:33.544690 2015] [mpm_winnt:notice] [pid 2960:tid 728] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e mod_wsgi/4.4.21 Python/2.7.11 configured -- resuming normal operations
[Wed Dec 23 10:24:33.544690 2015] [mpm_winnt:notice] [pid 2960:tid 728] AH00456: Server built: Dec 9 2015 12:21:09
[Wed Dec 23 10:24:33.544690 2015] [core:notice] [pid 2960:tid 728] AH00094: Command line: 'C:\apache24\bin\httpd.exe -d C:/Apache24'
[Wed Dec 23 10:24:33.544690 2015] [mpm_winnt:notice] [pid 2960:tid 728] AH00418: Parent: Created child process 3112
[Wed Dec 23 10:24:34.091593 2015] [ssl:warn] [pid 3112:tid 656] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 23 10:24:34.216600 2015] [ssl:warn] [pid 3112:tid 656] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Wed Dec 23 10:24:34.216600 2015] [wsgi:warn] [pid 3112:tid 656] mod_wsgi: Compiled for Python/2.7.10+.
[Wed Dec 23 10:24:34.216600 2015] [wsgi:warn] [pid 3112:tid 656] mod_wsgi: Runtime using Python/2.7.11. ImportError: No module named site
[Wed Dec 23 10:24:34.216600 2015] [mpm_winnt:crit] [pid 2960:tid 728] AH00419: master_main: create child process failed. Exiting.
It is the error AH00419 that I cannot figure out after DAYS of research.
So, let’s back up. These are the steps I took previous to getting this error:
I copied the mod_wsgi.so file out of the mod_wsgi-4.4.21+ap24vc9-cp27-none-win32.whl archive using WinRAR.
I copied it into my c:\Apache24\modules directory
I added this line to my httpd.conf file: "LoadModule wsgi_module modules/mod_wsgi.so"
My Python27 is 32-bit
My Apache24 is 32-bit and is the VC9 version
I have installed Visual C++ 2008 (VC9) 32-bit
Apache24 starts up just fine if I comment out that "LoadModule... ...wsgi" line.
I can't be the only one that has run into this problem but I have been unable to find a solution online. Can anyone help?