[mod_python] mptest.py test

Jim Gallacher jg.lists at sympatico.ca
Fri Jun 24 10:28:01 EDT 2005


Graham Dumpleton wrote:
> 
> On 24/06/2005, at 10:46 PM, Elim Qiu wrote:
> 
>> After installed mod_python (apache 2.0.54, python
>> 2.3.5,mod_python-3.1.3.win32-py2.3.exe),
>> Instead "Hello World!", IE displays the whole code for the url
>> http://localost/mptest.py:
>> from mod_python import apache
>>
>> def hello(req):
>>     req.write("Hello World!")
>>     return apache.OKI tried other version of apache with corresponding
>> mod_python, no differences.Please help. Thanks
> 
> 
> Read through:
> 
>   http://www.dscpl.com.au/projects/vampire/articles/modpython-001.html
> 

Nice. Any objections if I add this to the mod_python docs Graham?

Regards,
Jim


More information about the Mod_python mailing list