[Tutor] apache2.2 - django deployment

Glen Zangirolami glenbot at gmail.com
Tue Feb 9 22:48:46 CET 2010


Joson,

Everything looks good but I think the *module name is incorrect.*

Change: LoadModule *python_module *modules/mod_wsgi.so
To: LoadModule *wsgi_module *modules/mod_wsgi.so

Glen


On Tue, Feb 9, 2010 at 2:27 PM, Joson <zhuchunml at gmail.com> wrote:

> 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:)
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100209/5dff9e55/attachment.htm>


More information about the Tutor mailing list