~ubuntu-branches/ubuntu/karmic/libapache2-mod-python/karmic-updates

« back to all changes in this revision

Viewing changes to doc-html/dir-handlers-pch.html

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-09-06 20:27:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040906202757-yzpyu1bcabgpjtiu
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<title>5.1.13 PythonCleanupHandler</title>
 
5
<META NAME="description" CONTENT="5.1.13 PythonCleanupHandler">
 
6
<META NAME="keywords" CONTENT="modpython">
 
7
<META NAME="resource-type" CONTENT="document">
 
8
<META NAME="distribution" CONTENT="global">
 
9
<link rel="STYLESHEET" href="modpython.css">
 
10
<link rel="first" href="modpython.html">
 
11
<link rel="contents" href="contents.html" title="Contents">
 
12
<link rel="index" href="genindex.html" title="Index">
 
13
<LINK REL="previous" href="dir-handlers-plh.html">
 
14
<LINK REL="up" href="dir-handlers.html">
 
15
<LINK REL="next" href="dir-filter.html">
 
16
</head>
 
17
<body>
 
18
<DIV CLASS="navigation">
 
19
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
20
<tr>
 
21
<td><A href="dir-handlers-plh.html"><img src="icons/previous.gif"
 
22
  border="0" height="32"
 
23
  alt="Previous Page" width="32"></A></td>
 
24
<td><A href="dir-handlers.html"><img src="icons/up.gif"
 
25
  border="0" height="32"
 
26
  alt="Up One Level" width="32"></A></td>
 
27
<td><A href="dir-filter.html"><img src="icons/next.gif"
 
28
  border="0" height="32"
 
29
  alt="Next Page" width="32"></A></td>
 
30
<td align="center" width="100%">Mod_python Manual</td>
 
31
<td><A href="contents.html"><img src="icons/contents.gif"
 
32
  border="0" height="32"
 
33
  alt="Contents" width="32"></A></td>
 
34
<td><img src="icons/blank.gif"
 
35
  border="0" height="32"
 
36
  alt="" width="32"></td>
 
37
<td><A href="genindex.html"><img src="icons/index.gif"
 
38
  border="0" height="32"
 
39
  alt="Index" width="32"></A></td>
 
40
</tr></table>
 
41
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-handlers-plh.html">5.1.12 PythonLogHandler</A>
 
42
<b class="navlabel">Up:</b> <a class="sectref" href="dir-handlers.html">5.1 Request Handlers</A>
 
43
<b class="navlabel">Next:</b> <a class="sectref" href="dir-filter.html">5.2 Filters</A>
 
44
<br><hr>
 
45
</DIV>
 
46
<!--End of Navigation Panel-->
 
47
 
 
48
<H2><A NAME="SECTION0071130000000000000000">&nbsp;</A>
 
49
<a name="l2h-235">&nbsp;</a>
 
50
<BR>
 
51
5.1.13 PythonCleanupHandler
 
52
</H2>
 
53
 
 
54
<P>
 
55
<b><em class="citetitle"><a
 
56
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Syntax"
 
57
 title="Syntax:"
 
58
 >Syntax:</a></em></b>
 
59
<i>Python*Handler Syntax</i>
 
60
<BR><em class="citetitle"><a
 
61
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Context"
 
62
 title="Context:"
 
63
 >Context:</a></em>
 
64
server config, virtual host, directory, htaccess
 
65
<BR><em class="citetitle"><a
 
66
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Override"
 
67
 title="Override:"
 
68
 >Override:</a></em>
 
69
not None
 
70
<BR><em class="citetitle"><a
 
71
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Module"
 
72
 title="Module:"
 
73
 >Module:</a></em>
 
74
mod_python.c
 
75
 
 
76
<P>
 
77
This is the very last handler, called just before the request object
 
78
is destroyed by Apache.
 
79
 
 
80
<P>
 
81
Unlike all the other handlers, the return value of this handler is
 
82
ignored. Any errors will be logged to the error log, but will not be
 
83
sent to the client, even if PythonDebug is On.
 
84
 
 
85
<P>
 
86
This handler is not a valid argument to the <code>rec.add_handler()</code>
 
87
function. For dynamic clean up registration, use
 
88
<code>req.register_cleanup()</code>.
 
89
 
 
90
<P>
 
91
Once cleanups have started, it is not possible to register more of
 
92
them. Therefore, <code>req.register_cleanup()</code> has no effect within this
 
93
handler.
 
94
 
 
95
<P>
 
96
Cleanups registered with this directive will execute <i>after</i> cleanups
 
97
registered with <code>req.register_cleanup()</code>.
 
98
 
 
99
<P>
 
100
 
 
101
<DIV CLASS="navigation">
 
102
<p><hr>
 
103
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
104
<tr>
 
105
<td><A href="dir-handlers-plh.html"><img src="icons/previous.gif"
 
106
  border="0" height="32"
 
107
  alt="Previous Page" width="32"></A></td>
 
108
<td><A href="dir-handlers.html"><img src="icons/up.gif"
 
109
  border="0" height="32"
 
110
  alt="Up One Level" width="32"></A></td>
 
111
<td><A href="dir-filter.html"><img src="icons/next.gif"
 
112
  border="0" height="32"
 
113
  alt="Next Page" width="32"></A></td>
 
114
<td align="center" width="100%">Mod_python Manual</td>
 
115
<td><A href="contents.html"><img src="icons/contents.gif"
 
116
  border="0" height="32"
 
117
  alt="Contents" width="32"></A></td>
 
118
<td><img src="icons/blank.gif"
 
119
  border="0" height="32"
 
120
  alt="" width="32"></td>
 
121
<td><A href="genindex.html"><img src="icons/index.gif"
 
122
  border="0" height="32"
 
123
  alt="Index" width="32"></A></td>
 
124
</tr></table>
 
125
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-handlers-plh.html">5.1.12 PythonLogHandler</A>
 
126
<b class="navlabel">Up:</b> <a class="sectref" href="dir-handlers.html">5.1 Request Handlers</A>
 
127
<b class="navlabel">Next:</b> <a class="sectref" href="dir-filter.html">5.2 Filters</A>
 
128
<hr>
 
129
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
 
130
</DIV>
 
131
<!--End of Navigation Panel-->
 
132
 
 
133
</BODY>
 
134
</HTML>