Examples/modpython.py@47e29cc0f29c
Examples/modpython.py
Sat, 24 May 2014 18:01:53 +0200
- author
- Detlev Offenbach <detlev@die-offenbachs.de>
- date
- Sat, 24 May 2014 18:01:53 +0200
- changeset 3613
- 47e29cc0f29c
- parent 0
-
de9c2efb9d02
- permissions
- -rw-r--r--
Refined the install and cleanup scripts.
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