some problems with mod_python

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Fri Aug 24 09:42:08 EDT 2007


Bruno Desthuilliers a écrit :
> Johan a écrit :
> 
>> Hi
>>
>> I have installed and tested this on centos, fedora and freebsd all
>> give the same problem so I guess I missed some steps.
>>
>> I have compiled bot apache (2.2.4) and mod_python (3.3.1) according to
>> the docs and no problem with this.
>> But when I have made everything about testing mod_python an browse to
>> http://server/test and there expecting to see "Hello world" I instead
>> get an index of contents in this directory. If I go to  
>> http://server/test/mptest.py
>> it works. No errors in any log either.
>>
>> What Have I missed?
> 
> 
> The difference between AddHandler and SetHandler in apache's conf.
> 
And while we're at it, you also missed the fact that mod_python has it's 
own mailing list, where you're more likely to get answers from 
mod_python experts (strange as it might be, most of Python web 
development doesn't rely on Apache nor mod_python...)



More information about the Python-list mailing list