[mod_python] [SPAM] hello world program problems

Graham Dumpleton grahamd at dscpl.com.au
Tue Sep 12 02:34:20 EDT 2006

For a more detailed guide on setting up a first hello world test also  


That your attached httpd.conf file does not load the mod_python module
would be a good fix to resolve first as Jim points out.


On 12/09/2006, at 4:59 AM, Jim Gallacher wrote:

> Does the mod_python signature show up in your apache error.log?
>    If no, have you modified your apache config to load the module?  
> You need something like:
>    LoadModule python_module /usr/lib/apache2/modules/mod_python.so
>    (The path /usr/lib/apache2/modules may be different on your  
> system).
> If yes, where are you configuring the mod_python handler? If you  
> are using a .htaccess file, make sure AllowOverride is set properly.
>   (AllowOverride All is good for testing).
> Jim
> Mary Jane Boholst wrote:
>> Hello again,
>> I have since the last time managed to get mod_python setup in suse  
>> 10.1
>> but I am having problems with running the hello world test. When I
>> access the localhost address I get a pop up box asking me if I  
>> want to
>> save or open the file which is just the source code that I have
>> entered. I am sure I saw the solution to this on this mailing list
>> somewhere but cant seem to find it again.
>> I am using Python 2.4, Apache 2.2 and mod_python 3.2.1.
>> I attach my httpd.conf file if that will help.
>> Thanks in advance.
>> MJ
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list