newbie help for mod_python

Brian Beck exogen at gmail.com
Tue Feb 22 18:29:32 EST 2005


Jochen Kaechelin wrote:
> I run debian sid and apache2 with libapache2-mod-python2.3
> and I added these lines
> 
> <Directory /var/www>
>    AddHandler mod_python .py
>    PythonDebug On
> </Directory>
> 
> in a virtualhost container.

Were those the only lines you added? You also should have actually 
loaded the module somewhere by adding something resembling:

LoadModule python_module modules/mod_python.so

--
Brian Beck
Adventurer of the First Order



More information about the Python-list mailing list