<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="STYLESHEET" href="modpython.css" type='text/css' /> <link rel="first" href="modpython.html" title='Mod_python Manual' /> <link rel='contents' href='contents.html' title="Contents" /> <link rel='index' href='genindex.html' title='Index' /> <link rel='last' href='about.html' title='About this document...' /> <link rel='help' href='about.html' title='About this document...' /> <link rel="next" href="front.html" /> <meta name='aesop' content='information' /> <title>Mod_python Manual</title> </head> <body> <DIV CLASS="navigation"> <div id='top-navigation-panel' xml:id='top-navigation-panel'> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td class='online-navigation'><img src='previous.png' border='0' height='32' alt='Previous Page' width='32' /></td> <td class='online-navigation'><img src='up.png' border='0' height='32' alt='Up One Level' width='32' /></td> <td class='online-navigation'><a rel="next" title="Front Matter" href="front.html"><img src='next.png' border='0' height='32' alt='Next Page' width='32' /></A></td> <td align="center" width="100%">Mod_python Manual</td> <td class='online-navigation'><a rel="contents" title="Table of Contents" href="contents.html"><img src='contents.png' border='0' height='32' alt='Contents' width='32' /></A></td> <td class='online-navigation'><img src='blank.png' border='0' height='32' alt='' width='32' /></td> <td class='online-navigation'><a rel="index" title="Index" href="genindex.html"><img src='index.png' border='0' height='32' alt='Index' width='32' /></A></td> </tr></table> <div class='online-navigation'> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="front.html">Front Matter</A> </div> <hr /></div> </DIV> <!--End of Navigation Panel--> <P> <div class="titlepage"> <div class='center'> <h1>Mod_python Manual</h1> <p><b><font size="+2">Gregory Trubetskoy</font></b></p> <p> E-mail: <span class="email">grisha@apache.org</span> </p> <p><strong>Release 3.3.1</strong><br /> <strong>January 29, 2007</strong></p> <p></p> </div> </div> <P> <p><br /></p><hr class='online-navigation' /> <div class='online-navigation'> <!--Table of Child-Links--> <A NAME="CHILD_LINKS"></a> <UL CLASS="ChildLinks"> <LI><A href="front.html">Front Matter</a> <LI><A href="contents.html">Contents</a> <LI><A href="introduction.html">1. Introduction</a> <UL> <LI><A href="intr-performance.html">1.1 Performance</a> <LI><A href="intr-flexibility.html">1.2 Flexibility</a> <LI><A href="intr-history.html">1.3 History</a> </ul> <LI><A href="installation.html">2. Installation</a> <UL> <LI><A href="inst-prerequisites.html">2.1 Prerequisites</a> <LI><A href="inst-compiling.html">2.2 Compiling</a> <UL> <LI><A href="inst-configure.html">2.2.1 Running ./configure</a> <LI><A href="inst-make.html">2.2.2 Running make</a> </ul> <LI><A href="inst-installing.html">2.3 Installing</a> <UL> <LI><A href="inst-makeinstall.html">2.3.1 Running make install</a> <LI><A href="inst-apacheconfig.html">2.3.2 Configuring Apache</a> </ul> <LI><A href="inst-testing.html">2.4 Testing</a> <LI><A href="inst-trouble.html">2.5 Troubleshooting</a> </ul> <LI><A href="tutorial.html">3. Tutorial</a> <UL> <LI><A href="tut-pub.html">3.1 A Quick Start with the Publisher Handler</a> <LI><A href="tut-overview.html">3.2 Quick Overview of how Apache Handles Requests</a> <LI><A href="tut-what-it-do.html">3.3 So what Exactly does Mod-python do?</a> <LI><A href="tut-more-complicated.html">3.4 Now something More Complicated - Authentication</a> <LI><A href="tut-404-handler.html">3.5 Your Own 404 Handler</a> </ul> <LI><A href="pythonapi.html">4. Python API</a> <UL> <LI><A href="pyapi-interps.html">4.1 Multiple Interpreters</a> <LI><A href="pyapi-handler.html">4.2 Overview of a Request Handler</a> <LI><A href="pyapi-filter.html">4.3 Overview of a Filter Handler</a> <LI><A href="pyapi-conn.html">4.4 Overview of a Connection Handler</a> <LI><A href="module-apache.html">4.5 <tt class="module">apache</tt> - Access to Apache Internals.</a> <UL> <LI><A href="pyapi-apmeth.html">4.5.1 Functions</a> <LI><A href="pyapi-apmem.html">4.5.2 Attributes</a> <LI><A href="pyapi-mptable.html">4.5.3 Table Object (mp_table)<a id='l2h-43' xml:id='l2h-43'></a></a> <LI><A href="pyapi-mprequest.html">4.5.4 Request Object<a id='l2h-47' xml:id='l2h-47'></a></a> <LI><A href="pyapi-mpconn.html">4.5.5 Connection Object (mp_conn)<a id='l2h-144' xml:id='l2h-144'></a></a> <LI><A href="pyapi-mpfilt.html">4.5.6 Filter Object (mp_filter)<a id='l2h-166' xml:id='l2h-166'></a></a> <LI><A href="pyapi-mpserver.html">4.5.7 Server Object (mp_server)<a id='l2h-179' xml:id='l2h-179'></a></a> </ul> <LI><A href="pyapi-util.html">4.6 <tt class="module">util</tt> - Miscellaneous Utilities</a> <UL> <LI><A href="pyapi-util-fstor.html">4.6.1 FieldStorage class</a> <LI><A href="pyapi-util-fstor-examples.html">4.6.2 FieldStorage Examples</a> <LI><A href="pyapi-util-fstor-fld.html">4.6.3 Field class</a> <LI><A href="pyapi-util-funcs.html">4.6.4 Other functions</a> </ul> <LI><A href="pyapi-cookie.html">4.7 <tt class="module">Cookie</tt> - HTTP State Management</a> <UL> <LI><A href="pyapi-cookie-classes.html">4.7.1 Classes</a> <LI><A href="pyapi-cookie-func.html">4.7.2 Functions</a> <LI><A href="pyapi-cookie-example.html">4.7.3 Examples</a> </ul> <LI><A href="pyapi-sess.html">4.8 <tt class="module">Session</tt> - Session Management</a> <UL> <LI><A href="pyapi-sess-classes.html">4.8.1 Classes</a> <LI><A href="pyapi-sess-example.html">4.8.2 Examples</a> </ul> <LI><A href="pyapi-psp.html">4.9 <tt class="module">psp</tt> - Python Server Pages</a> </ul> <LI><A href="directives.html">5. Apache Configuration Directives</a> <UL> <LI><A href="dir-handlers.html">5.1 Request Handlers</a> <UL> <LI><A href="dir-handlers-syn.html">5.1.1 Python*Handler Directive Syntax</a> <LI><A href="dir-handlers-prrh.html">5.1.2 PythonPostReadRequestHandler</a> <LI><A href="dir-handlers-th.html">5.1.3 PythonTransHandler</a> <LI><A href="dir-handlers-hph.html">5.1.4 PythonHeaderParserHandler</a> <LI><A href="dir-handlers-pih.html">5.1.5 PythonInitHandler</a> <LI><A href="dir-handlers-ach.html">5.1.6 PythonAccessHandler</a> <LI><A href="dir-handlers-auh.html">5.1.7 PythonAuthenHandler</a> <LI><A href="dir-handlers-auzh.html">5.1.8 PythonAuthzHandler</a> <LI><A href="dir-handlers-tph.html">5.1.9 PythonTypeHandler</a> <LI><A href="dir-handlers-fuh.html">5.1.10 PythonFixupHandler</a> <LI><A href="dir-handlers-ph.html">5.1.11 PythonHandler</a> <LI><A href="dir-handlers-plh.html">5.1.12 PythonLogHandler</a> <LI><A href="dir-handlers-pch.html">5.1.13 PythonCleanupHandler</a> </ul> <LI><A href="dir-filter.html">5.2 Filters</a> <UL> <LI><A href="dir-filter-if.html">5.2.1 PythonInputFilter</a> <LI><A href="dir-filter-of.html">5.2.2 PythonOutputFilter</a> </ul> <LI><A href="dir-conn.html">5.3 Connection Handler</a> <UL> <LI><A href="dir-conn-ch.html">5.3.1 PythonConnectionHandler</a> </ul> <LI><A href="dir-other.html">5.4 Other Directives</a> <UL> <LI><A href="dir-other-epd.html">5.4.1 PythonEnablePdb</a> <LI><A href="dir-other-pd.html">5.4.2 PythonDebug</a> <LI><A href="dir-other-pimp.html">5.4.3 PythonImport</a> <LI><A href="dir-other-ipd.html">5.4.4 PythonInterpPerDirectory</a> <LI><A href="dir-other-ipdv.html">5.4.5 PythonInterpPerDirective</a> <LI><A href="dir-other-pi.html">5.4.6 PythonInterpreter</a> <LI><A href="dir-other-phm.html">5.4.7 PythonHandlerModule</a> <LI><A href="dir-other-par.html">5.4.8 PythonAutoReload</a> <LI><A href="dir-other-pomz.html">5.4.9 PythonOptimize</a> <LI><A href="dir-other-po.html">5.4.10 PythonOption</a> <LI><A href="dir-other-pp.html">5.4.11 PythonPath</a> </ul> </ul> <LI><A href="ssi.html">6. Server Side Includes</a> <UL> <LI><A href="ssi-overview.html">6.1 Overview of SSI</a> <LI><A href="ssi-python-code.html">6.2 Using Python Code</a> <LI><A href="ssi-data-scope.html">6.3 Scope of Global Data</a> <LI><A href="ssi-globals.html">6.4 Pre-propulating Globals</a> <LI><A href="ssi-conditionals.html">6.5 Conditional Expressions</a> <LI><A href="ssi-output-filter.html">6.6 Enabling INCLUDES Filter</a> </ul> <LI><A href="handlers.html">7. Standard Handlers</a> <UL> <LI><A href="hand-pub.html">7.1 Publisher Handler</a> <UL> <LI><A href="hand-pub-intro.html">7.1.1 Introduction</a> <LI><A href="hand-pub-alg.html">7.1.2 The Publishing Algorithm</a> <LI><A href="node103.html">7.1.3 Form Data</a> </ul> <LI><A href="hand-psp.html">7.2 PSP Handler</a> <LI><A href="hand-cgi.html">7.3 CGI Handler</a> </ul> <LI><A href="security.html">8. Security</a> <LI><A href="app-changes-from-3.2.10.html">A. Changes from Version (3.2.10)</a> <LI><A href="app-changes.html">B. Changes from Version (3.2.8)</a> <LI><A href="app-changes-from-3.2.7.html">C. Changes from Version (3.2.7)</a> <LI><A href="app-changes-from-3.1.4.html">D. Changes from Version (3.1.4)</a> <LI><A href="app-changes-from-2.x.html">E. Changes from Previous Major Version (2.x)</a> <LI><A href="genindex.html">Index</a> <LI><A href="about.html">About this document ...</a> </ul> <!--End of Table of Child-Links--> </div> <DIV CLASS="navigation"> <div class='online-navigation'> <p></p><hr /> <table align="center" width="100%" cellpadding="0" cellspacing="2"> <tr> <td class='online-navigation'><img src='previous.png' border='0' height='32' alt='Previous Page' width='32' /></td> <td class='online-navigation'><img src='up.png' border='0' height='32' alt='Up One Level' width='32' /></td> <td class='online-navigation'><a rel="next" title="Front Matter" href="front.html"><img src='next.png' border='0' height='32' alt='Next Page' width='32' /></A></td> <td align="center" width="100%">Mod_python Manual</td> <td class='online-navigation'><a rel="contents" title="Table of Contents" href="contents.html"><img src='contents.png' border='0' height='32' alt='Contents' width='32' /></A></td> <td class='online-navigation'><img src='blank.png' border='0' height='32' alt='' width='32' /></td> <td class='online-navigation'><a rel="index" title="Index" href="genindex.html"><img src='index.png' border='0' height='32' alt='Index' width='32' /></A></td> </tr></table> <div class='online-navigation'> <b class="navlabel">Next:</b> <a class="sectref" rel="next" href="front.html">Front Matter</A> </div> </div> <hr /> <span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span> </DIV> <!--End of Navigation Panel--> </BODY> </HTML>