~ubuntu-branches/ubuntu/warty/libapache2-mod-python/warty

« back to all changes in this revision

Viewing changes to doc-html/dir-filter-if.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.2.1 PythonInputFilter</title>
 
5
<META NAME="description" CONTENT="5.2.1 PythonInputFilter">
 
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="next" href="dir-filter-of.html">
 
14
<LINK REL="previous" href="dir-filter.html">
 
15
<LINK REL="up" href="dir-filter.html">
 
16
<LINK REL="next" href="dir-filter-of.html">
 
17
</head>
 
18
<body>
 
19
<DIV CLASS="navigation">
 
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
21
<tr>
 
22
<td><A href="dir-filter.html"><img src="icons/previous.gif"
 
23
  border="0" height="32"
 
24
  alt="Previous Page" width="32"></A></td>
 
25
<td><A href="dir-filter.html"><img src="icons/up.gif"
 
26
  border="0" height="32"
 
27
  alt="Up One Level" width="32"></A></td>
 
28
<td><A href="dir-filter-of.html"><img src="icons/next.gif"
 
29
  border="0" height="32"
 
30
  alt="Next Page" width="32"></A></td>
 
31
<td align="center" width="100%">Mod_python Manual</td>
 
32
<td><A href="contents.html"><img src="icons/contents.gif"
 
33
  border="0" height="32"
 
34
  alt="Contents" width="32"></A></td>
 
35
<td><img src="icons/blank.gif"
 
36
  border="0" height="32"
 
37
  alt="" width="32"></td>
 
38
<td><A href="genindex.html"><img src="icons/index.gif"
 
39
  border="0" height="32"
 
40
  alt="Index" width="32"></A></td>
 
41
</tr></table>
 
42
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-filter.html">5.2 Filters</A>
 
43
<b class="navlabel">Up:</b> <a class="sectref" href="dir-filter.html">5.2 Filters</A>
 
44
<b class="navlabel">Next:</b> <a class="sectref" href="dir-filter-of.html">5.2.2 PythonOutputFilter</A>
 
45
<br><hr>
 
46
</DIV>
 
47
<!--End of Navigation Panel-->
 
48
 
 
49
<H2><A NAME="SECTION007210000000000000000">&nbsp;</A>
 
50
<a name="l2h-236">&nbsp;</a>
 
51
<BR>
 
52
5.2.1 PythonInputFilter
 
53
</H2>
 
54
 
 
55
<P>
 
56
<b><em class="citetitle"><a
 
57
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Syntax"
 
58
 title="Syntax:"
 
59
 >Syntax:</a></em></b>
 
60
PythonInputFilter handler name
 
61
<BR><em class="citetitle"><a
 
62
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Context"
 
63
 title="Context:"
 
64
 >Context:</a></em>
 
65
server config
 
66
<BR><em class="citetitle"><a
 
67
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Module"
 
68
 title="Module:"
 
69
 >Module:</a></em>
 
70
mod_python.c
 
71
 
 
72
<P>
 
73
Registers an input filter <var>handler</var> under name
 
74
<var>name</var>. <var>Handler</var> is a module name optionally followed
 
75
<code>::</code> and a callable object name. If callable object name is
 
76
omitted, it will default to "<tt class="samp">inputfilter</tt>". <var>Name</var> is the name under
 
77
which the filter is registered, by convention filter names are usually
 
78
in all caps.
 
79
 
 
80
<P>
 
81
To activate the filter, use the <code>AddInputFilter</code> directive.
 
82
 
 
83
<P>
 
84
 
 
85
<DIV CLASS="navigation">
 
86
<p><hr>
 
87
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
88
<tr>
 
89
<td><A href="dir-filter.html"><img src="icons/previous.gif"
 
90
  border="0" height="32"
 
91
  alt="Previous Page" width="32"></A></td>
 
92
<td><A href="dir-filter.html"><img src="icons/up.gif"
 
93
  border="0" height="32"
 
94
  alt="Up One Level" width="32"></A></td>
 
95
<td><A href="dir-filter-of.html"><img src="icons/next.gif"
 
96
  border="0" height="32"
 
97
  alt="Next Page" width="32"></A></td>
 
98
<td align="center" width="100%">Mod_python Manual</td>
 
99
<td><A href="contents.html"><img src="icons/contents.gif"
 
100
  border="0" height="32"
 
101
  alt="Contents" width="32"></A></td>
 
102
<td><img src="icons/blank.gif"
 
103
  border="0" height="32"
 
104
  alt="" width="32"></td>
 
105
<td><A href="genindex.html"><img src="icons/index.gif"
 
106
  border="0" height="32"
 
107
  alt="Index" width="32"></A></td>
 
108
</tr></table>
 
109
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-filter.html">5.2 Filters</A>
 
110
<b class="navlabel">Up:</b> <a class="sectref" href="dir-filter.html">5.2 Filters</A>
 
111
<b class="navlabel">Next:</b> <a class="sectref" href="dir-filter-of.html">5.2.2 PythonOutputFilter</A>
 
112
<hr>
 
113
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
 
114
</DIV>
 
115
<!--End of Navigation Panel-->
 
116
 
 
117
</BODY>
 
118
</HTML>