[mod_python] Newbie problem running mod_python

Andre Burgaud andre at burgaud.com
Sun Oct 26 21:43:30 EST 2003

Hi Tom,

I faced the same situation recently and this has been also discussed in
the mod_python list. As a temporary solution, try with Python 2.2 and
this should work fine.



-----Original Message-----
From: mod_python-bounces at modpython.org
[mailto:mod_python-bounces at modpython.org] On Behalf Of Tom Ayerst
Sent: Sunday, October 26, 2003 3:29 AM
To: mod_python at modpython.org
Subject: [mod_python] Newbie problem running mod_python

I am trying to run mod_python.

My setup is:

mod_python version  3.0.3
python 2.3.2
Apache 2.0.47
Windows XP Home edition 2002 Service Pack 1

I installed python, then apache and then mod_python.  I have made no 
changes to apache (other than to httpd.conf) or mod_python.

Apache ran ok before the install of mod_python.

When trying to run up apache with the example python code I get:

    Syntax error on line 173 of C:/Program Files/Apache 
    Cannot load C:/Program Files/Apache 
Group/Apache2/modules/mod_python.so into server: The specified module 
could not be found.
    Note the errors or messages above, and press the <ESC> key to exit.


That part of httpd.conf looks like this:

165 LoadModule setenvif_module modules/mod_setenvif.so
166 #LoadModule speling_module modules/mod_speling.so
167 #LoadModule status_module modules/mod_status.so
168 #LoadModule unique_id_module modules/mod_unique_id.so
169 LoadModule userdir_module modules/mod_userdir.so
170 #LoadModule usertrack_module modules/mod_usertrack.so
171 #LoadModule vhost_alias_module modules/mod_vhost_alias.so
172 #LoadModule ssl_module modules/mod_ssl.so
173 LoadModule python_module 

175 #
176 # ExtendedStatus controls whether Apache will generate "full" status
177 # information (ExtendedStatus On) or just basic information 
178 # Off) when the "server-status" handler is called. The default is
179 #
180 #ExtendedStatus On

As usual I expect I have missed something glaringly obvious, I just 
don't know what right now.

Any help or pointers much appreciated.



Mod_python mailing list
Mod_python at modpython.org

More information about the Mod_python mailing list