[mod_python] [SPAM] hello world program problems

Graham Dumpleton grahamd at dscpl.com.au
Tue Sep 12 18:39:07 EDT 2006

On 12/09/2006, at 11:13 PM, Mary Jane Boholst wrote:

> Jim Gallacher wrote:
>> Please don't send HTML messages to the list.
>> Mary Jane Boholst wrote:
>>> Hi,<br>
>>> mod_python does show in the apache error.log.<br>
>>> I am using the httpd.conf file to configure the mod_python handler.
>> Are you sure? There was no such configuration in the httpd.conf  
>> file attached to your original message. Perhaps you could send the  
>> snippet containing that part again (not the whole httpd.conf).
>> Jim
> Hi again,
> Sorry about the html. The python handler snippet is as on the  
> http://modpythin.org/live/current/doc-html/inst-testing.html:
> LoadModule python_module /usr/lib/python2.4/site-packages/mod- 
> python.so
> <Directory /srv/www/htdocs/test>
>    AddHandler mod_python .py
>    PythonHandler mptest
>    PythonDebug on
> </Directory>
> The only other thing that I can think that could be a problem is  
> that I used the command apt-get install apache2-mod_python which  
> perhaps dowloaded and installed a different package? Maybe I am  
> just clutching at straws.

Have you tried yet the alternate instructions at:


that I sent you?

These alternate instructions use a different means of configuring Apache
and tell you what to check at each point when things don't go wrong. If
you use the alternate instructions, it might help you to in turn work  
why the current way you are doing it doesn't work.


More information about the Mod_python mailing list