Examples/modpython.py@74c05a1ca2bc
Examples/modpython.py
Sat, 31 Mar 2012 12:52:45 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sat, 31 Mar 2012 12:52:45 +0200
- changeset 1745
- 74c05a1ca2bc
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Fixed an issue with the new error log dialog.
from mod_python import apache
def handler(req):
req.content_type = "text/plain"
req.send_http_header()
req.write("Hello World!\n")
return apache.OK