[Tutor] apache2.2 - django deployment

Joson zhuchunml at gmail.com
Tue Feb 9 21:27:58 CET 2010


Hi all,
I wanna deploy a django program on apache2.2. So I downloaded "
mod_wsgi-win32-ap22py26-3.0.so" and copied it into apache2.2/modules/,
renamed "mod_wsgi.so".

in httpd.conf I appended sentence:
LoadModule python_module modules/mod_wsgi.so

Then It failed to start the server:

httpd.exe: Syntax error on line 128 of C:/Program Files/Apache Software
Foundati
on/Apache2.2/conf/httpd.conf: Can't locate API module structure
`python_module'
in file C:/Program Files/Apache Software
Foundation/Apache2.2/modules/mod_wsgi.s
o: No error
Note the errors or messages above, and press the <ESC> key to exit.  21...

Pls help me. thanks:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100210/d01b75b8/attachment.htm>


More information about the Tutor mailing list