Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Directory /var/www/MYDOMAIN.com/htdocs>
- SetHandler mod_python
- PythonHandler mod_python.publisher
- PythonDebug On
- </Directory>
- from mod_python import apache
- def requesthandler(req):
- req.content_type = "text/plain"
- req.write("Hello World!")
- return apache.OK
- DirectoryIndex index
Add Comment
Please, Sign In to add comment