[mod_python] Gentoo Linux - mod_python - not working

Jason Stubbs jstubbs at work-at.co.jp
Tue Oct 18 23:15:58 EDT 2005


Robert Squire wrote:
> Here is the file I'm using:
> -----------------------------------------------------
> didactic htdocs # cat mptest.py
> from mod_python import apache
> 
> def hadler(req):
       ^^^^^^
>        req.content_type = 'text/plain'
>        req.sent_http_header()
>        req.write("Hello World!")
>        return apache.OK
> 
> -----------------------------------------------------

Don't you just hate typos? ;)

--
Jason Stubbs


More information about the Mod_python mailing list