mod_python install trouble

Jon Franz_antispam jfranzXREMOVEX at neurokode.com
Wed Oct 15 04:25:25 EDT 2003


Did you compile the .so with the same compiler used to compile apache?

You may be better served by posting this issue to the mod_python mailing
list:
http://mailman.modpython.org/mailman/listinfo/mod_python

----- Original Message ----- 
From: "ted" <tedNOSPAM94107 at yahoo.com>
To: <python-list at python.org>
Sent: Wednesday, October 15, 2003 4:14 AM
Subject: mod_python install trouble


> Hi,
>
> I'm having a problem trying to get mod_python running on Win2000.
>
> I'm getting the following error when I start Apache:
>
>     C:\Program Files\Apache Group\Apache2\bin>Apache.exe
>     Syntax error on line 163 of C:/Program Files/Apache
> Group/Apache2/conf/httpd.conf:
>     Cannot load C:/Program Files/Apache
Group/Apache2/modules/mod_python.so
> into server:
>     The specified module could not be found.
>
> I added the following lines to the Apaches http.conf file:
>
>     LoadModule python_module modules/mod_python.so
>
>     <Directory C:/Program Files/Apache
Group/Apache2/htdocs/mod_python_test>
>     AddHandler mod_python .py
>     PythonHandler mptest
>     PythonDebug On
>     </Directory>
>
>
> And I have installed on Win2000:
>     Apache 2.0.47
>     Python 2.3.2
>     mod_python 3.1.0a
>
> Any help appreciated.
>
> Thanks,
> Ted
>
>
>
>






More information about the Python-list mailing list