~ubuntu-branches/ubuntu/dapper/libapache2-mod-python/dapper-security

« back to all changes in this revision

Viewing changes to doc-html/dir-other-phm.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.4.7 PythonHandlerModule</title>
 
5
<META NAME="description" CONTENT="5.4.7 PythonHandlerModule">
 
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-other-par.html">
 
14
<LINK REL="previous" href="dir-other-pi.html">
 
15
<LINK REL="up" href="dir-other.html">
 
16
<LINK REL="next" href="dir-other-par.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-other-pi.html"><img src="icons/previous.gif"
 
23
  border="0" height="32"
 
24
  alt="Previous Page" width="32"></A></td>
 
25
<td><A href="dir-other.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-other-par.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-other-pi.html">5.4.6 PythonInterpreter</A>
 
43
<b class="navlabel">Up:</b> <a class="sectref" href="dir-other.html">5.4 Other Directives</A>
 
44
<b class="navlabel">Next:</b> <a class="sectref" href="dir-other-par.html">5.4.8 PythonAutoReload</A>
 
45
<br><hr>
 
46
</DIV>
 
47
<!--End of Navigation Panel-->
 
48
 
 
49
<H2><A NAME="SECTION007470000000000000000">&nbsp;</A>
 
50
<a name="l2h-245">&nbsp;</a>
 
51
<BR>
 
52
5.4.7 PythonHandlerModule
 
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
PythonHandlerModule module 
 
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, virtual host, directory, htaccess
 
66
<BR><em class="citetitle"><a
 
67
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Override"
 
68
 title="Override:"
 
69
 >Override:</a></em>
 
70
not None
 
71
<BR><em class="citetitle"><a
 
72
 href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Module"
 
73
 title="Module:"
 
74
 >Module:</a></em>
 
75
mod_python.c
 
76
 
 
77
<P>
 
78
PythonHandlerModule can be used an alternative to Python*Handler
 
79
directives. The module specified in this handler will be searched for
 
80
existence of functions matching the default handler function names,
 
81
and if a function is found, it will be executed.
 
82
 
 
83
<P>
 
84
For example, instead of:
 
85
<dl><dd><pre class="verbatim">
 
86
  PythonAutenHandler mymodule
 
87
  PythonHandler mymodule
 
88
  PythonLogHandler mymodule
 
89
</pre></dl>    
 
90
 
 
91
<P>
 
92
one can simply say
 
93
<dl><dd><pre class="verbatim">
 
94
  PythonHandlerModule mymodule
 
95
</pre></dl>    
 
96
 
 
97
<P>
 
98
 
 
99
<DIV CLASS="navigation">
 
100
<p><hr>
 
101
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
102
<tr>
 
103
<td><A href="dir-other-pi.html"><img src="icons/previous.gif"
 
104
  border="0" height="32"
 
105
  alt="Previous Page" width="32"></A></td>
 
106
<td><A href="dir-other.html"><img src="icons/up.gif"
 
107
  border="0" height="32"
 
108
  alt="Up One Level" width="32"></A></td>
 
109
<td><A href="dir-other-par.html"><img src="icons/next.gif"
 
110
  border="0" height="32"
 
111
  alt="Next Page" width="32"></A></td>
 
112
<td align="center" width="100%">Mod_python Manual</td>
 
113
<td><A href="contents.html"><img src="icons/contents.gif"
 
114
  border="0" height="32"
 
115
  alt="Contents" width="32"></A></td>
 
116
<td><img src="icons/blank.gif"
 
117
  border="0" height="32"
 
118
  alt="" width="32"></td>
 
119
<td><A href="genindex.html"><img src="icons/index.gif"
 
120
  border="0" height="32"
 
121
  alt="Index" width="32"></A></td>
 
122
</tr></table>
 
123
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-other-pi.html">5.4.6 PythonInterpreter</A>
 
124
<b class="navlabel">Up:</b> <a class="sectref" href="dir-other.html">5.4 Other Directives</A>
 
125
<b class="navlabel">Next:</b> <a class="sectref" href="dir-other-par.html">5.4.8 PythonAutoReload</A>
 
126
<hr>
 
127
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
 
128
</DIV>
 
129
<!--End of Navigation Panel-->
 
130
 
 
131
</BODY>
 
132
</HTML>