[mod_python] Problem installing mod_python

Jorey Bump list at joreybump.com
Fri Dec 16 15:07:09 EST 2005

nm at estadias.com wrote:
>>Is this in the VirtualHost container? Are you accessing the VirtualHost
>>by name? Have you done whatever Debian needs you to do to load the
>>module and enable mod_python? Does your error log show that mod_python
>>is loading?
> Yes is a virtualhost and i'm accessing by virtualhost name.

OK, show us the whole VirtualHost container. How are you able to resolve 
   python.debian? Did you modify your client's hosts file, or are you 
running a local DNS server?

> And seems that mod_python is loaded successful.

Did you verify this in your error log (change the path if sarge logs 

  grep mod_python /var/log/apache/error.log

How are you enabling mod_python? Debian created their own scheme for 
enabling modules, which makes it even harder to get help. They use some 
custom a2enmod command. The "a" stands for "acid", I think. :)

> For PHP i have:
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> For the Python is not needed?

It's not even needed for PHP.

More information about the Mod_python mailing list