Saturday, December 24, 2011

mod_wsgi in httpd.conf

Getting an error like this on apache 2.2 on Windows 32?

[Sun Dec 25 11:59:40 2011] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Dec 25 11:59:40 2011] [notice] Child 296: Exit event signaled. Child process is ending.
httpd.exe: Syntax error on line 129 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Can't locate API module structure `mod_wsgi_module' in file C:/Program Files/Apache Software Foundation/Apache2.2/modules/ No error
[Sun Dec 25 11:59:41 2011] [notice] Child 296: Released the start mutex
[Sun Dec 25 11:59:42 2011] [notice] Child 296: All worker threads have exited.
[Sun Dec 25 11:59:42 2011] [notice] Child 296: Child process is exiting

You need to have mod_wsgi configured exactly as follow:

LoadModule wsgi_module modules/

No comments:

Post a Comment