[mod_python] Problem installing mod_python

Graham Dumpleton grahamd at dscpl.com.au
Thu Dec 15 15:34:14 EST 2005

On 16/12/2005, at 2:42 AM, nm at estadias.com wrote:

> Hi,
> I'm new to python, and i have a problem with the mod_python 
> installation.
> I'm running Debian linux 3.1 STABLE, i've done an apt-get install
> libapache2-mod-python.
> I've tried to run the simple example of:
> http://www.modpython.org/live/current/doc-html/inst-testing.html
> But don't works. When i call the page, the browser simply show a 
> window to save
> the file.
> In my apache2.conf i have:
> <Directory /home/*/public_html>
>         AllowOverride All
>         Options Indexes SymLinksIfOwnerMatch IncludesNoExec
> </Directory>

Is the file it saves the source code, or the actual content of the page?
If the content, it may be because in your code you don't set
req.content_type which can cause this behaviour.

For a better guide for a simple test example in mod_python, see:



More information about the Mod_python mailing list