1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>5.4.6 PythonInterpreter</title>
5
<META NAME="description" CONTENT="5.4.6 PythonInterpreter">
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-phm.html">
14
<LINK REL="previous" href="dir-other-ipdv.html">
15
<LINK REL="up" href="dir-other.html">
16
<LINK REL="next" href="dir-other-phm.html">
19
<DIV CLASS="navigation">
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
22
<td><A href="dir-other-ipdv.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-phm.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>
42
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-other-ipdv.html">5.4.5 PythonInterpPerDirective</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-phm.html">5.4.7 PythonHandlerModule</A>
47
<!--End of Navigation Panel-->
49
<H2><A NAME="SECTION007460000000000000000"> </A>
50
<a name="l2h-244"> </a>
52
5.4.6 PythonInterpreter
56
<b><em class="citetitle"><a
57
href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Syntax"
60
PythonInterpreter name
61
<BR><em class="citetitle"><a
62
href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Context"
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"
71
<BR><em class="citetitle"><a
72
href="http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Module"
78
Forces mod_python to use interpreter named <i>name</i>, overriding the
79
default behaviour or behaviour dictated by
80
<em class="citetitle"><a
81
href="dir-other-ipd.html"
82
title="<code>PythonInterpPerDirectory</code>"
83
><code>PythonInterpPerDirectory</code></a></em> or
84
<em class="citetitle"><a
85
href="dir-other-ipdv.html"
86
title="<code>PythonInterpPerDirective</code>"
87
><code>PythonInterpPerDirective</code></a></em> directive.
90
This directive can be used to force execution that would normally
91
occur in different subinterpreters to run in the same one. When
92
specified in the DocumentRoot, it forces the whole server to run in one
97
<p class="heading"><b>See Also:</b></p>
99
<dl compact class="seetitle">
100
<dt><em class="citetitle"><a href="pyapi-interps.html"
101
>Section <A href="pyapi-interps.html#pyapi-interps">4.1</A> Multiple Interpreters</a></em>
102
<dd>for more information
108
<DIV CLASS="navigation">
110
<table align="center" width="100%" cellpadding="0" cellspacing="2">
112
<td><A href="dir-other-ipdv.html"><img src="icons/previous.gif"
113
border="0" height="32"
114
alt="Previous Page" width="32"></A></td>
115
<td><A href="dir-other.html"><img src="icons/up.gif"
116
border="0" height="32"
117
alt="Up One Level" width="32"></A></td>
118
<td><A href="dir-other-phm.html"><img src="icons/next.gif"
119
border="0" height="32"
120
alt="Next Page" width="32"></A></td>
121
<td align="center" width="100%">Mod_python Manual</td>
122
<td><A href="contents.html"><img src="icons/contents.gif"
123
border="0" height="32"
124
alt="Contents" width="32"></A></td>
125
<td><img src="icons/blank.gif"
126
border="0" height="32"
127
alt="" width="32"></td>
128
<td><A href="genindex.html"><img src="icons/index.gif"
129
border="0" height="32"
130
alt="Index" width="32"></A></td>
132
<b class="navlabel">Previous:</b> <a class="sectref" href="dir-other-ipdv.html">5.4.5 PythonInterpPerDirective</A>
133
<b class="navlabel">Up:</b> <a class="sectref" href="dir-other.html">5.4 Other Directives</A>
134
<b class="navlabel">Next:</b> <a class="sectref" href="dir-other-phm.html">5.4.7 PythonHandlerModule</A>
136
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
138
<!--End of Navigation Panel-->