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 <zhuchu...@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@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to