.. _tutorial:
********
Tutorial
********
*So how can I make this work?*
This is a quick guide to getting started with mod_python programming
once you have it installed. This is not an installation manual.
It is also highly recommended to read (at least the top part of)
the section :ref:`pythonapi` after completing this tutorial.
.. _tut-pub:
A Quick Start with the Publisher Handler
========================================
This section provides a quick overview of the Publisher handler for
those who would like to get started without getting into too much
detail. A more thorough explanation of how mod_python handlers work
and what a handler actually is follows on in the later sections of the
tutorial.
The :ref:`hand-pub` is provided as one of the standard
mod_python handlers. To get the publisher handler working, you will
need the following lines in your config::
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
The following example demonstrates a simple feedback form. The form
asks for a name, e-mail address and a comment which are then used to
construct and send a message to the webmaster. This simple
application consists of two files: :file:`form.html` - the form to
collect the data, and :file:`form.py` - the target of the form's
action.
Here is the html for the form::
Please provide feedback below:
The ``action`` element of the ``