[mod_python] Problem with with apache2 and mod_python

Jorey Bump list at joreybump.com
Mon Sep 8 10:31:10 EDT 2008


Edgard Alves da Costa wrote, at 09/08/2008 07:48 AM:

> In the browser a i have the scripts like a common txt files. like:
> 
> def teste():
> 	s="""\
> 	<html>
> 	<body>
> 	Teste
> 	</body></html>"""
> 
> 	return s
> 
> 
> What is wrong??

Check your apache error log. Is mod_python loading? You should see a 
line like this:

[Mon Sep 01 08:30:15 2008] [notice] mod_python: Creating 8 session 
mutexes based on 256 max processes and 0 max threads.

Did you do what Ubuntu needs you to do to load the module?






More information about the Mod_python mailing list