|
Jorey Bump
list at joreybump.com
Tue Nov 2 13:13:28 EST 2004
Mark Eret wrote:
> Hello there,
>
> I have Apache 1.3.31 running and mod_python 2.7.10-3 (I believe) on
> Debian's testing distrubution ('sarge'). I installed mod_python and
> Apache using 'apt-get' (apt-get install apache, apt-get install
> libapache-mod-python). I tried to follow the instructions for testing
> my installation given in
> http://www.modpython.org/live/mod_python-2.7/doc/inst-testing.html, but
> I can't get it to work. I followed them to the letter.
>
> My httpd.conf contains the following:
> <Directory /var/www/test>
> AddHandler mod_python .py
> PythonHandler mptest
> PythonDebug On
> </Directory>
Are you loading the module? httpd.conf should contain something like the
following:
LoadModule python_module /usr/lib/apache/1.3/mod_python.so
This is the path on woody, but it may have changed on sarge.
|