LoadModule python_module extramodules/mod_python.so
#
# Mod_python is a module that embeds the Python language interpreter
# within the server, allowing Apache handlers to be written in Python.
#
# This will cause files beneath /home/httpd/htdocs with the extension .spam
# to be handled by the Python script /home/httpd/htdocs/eggs.py
#
#
#
# AddHandler python-program .spam
#
# PythonHandler eggs
#
# This will cause all requests to the /python heirachy of your
# webserver to be handled by the python script /path/to/myhandler.py
#
#
# SetHandler python-program
# PythonPath "sys.path + ['/path/to']"
# PythonHandler myhandler
#
# This will cause all requests to the /python heirachy of your
# webserver to be handled by mod_python's Publisher handler
#
#
# SetHandler python-program
# PythonHandler mod_python.publisher
#