1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>2.3.2 Configuring Apache</title>
5
<META NAME="description" CONTENT="2.3.2 Configuring Apache">
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="inst-makeinstall.html">
14
<LINK REL="up" href="inst-installing.html">
15
<LINK REL="next" href="inst-testing.html">
18
<DIV CLASS="navigation">
19
<table align="center" width="100%" cellpadding="0" cellspacing="2">
21
<td><A href="inst-makeinstall.html"><img src="icons/previous.gif"
22
border="0" height="32"
23
alt="Previous Page" width="32"></A></td>
24
<td><A href="inst-installing.html"><img src="icons/up.gif"
25
border="0" height="32"
26
alt="Up One Level" width="32"></A></td>
27
<td><A href="inst-testing.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>
41
<b class="navlabel">Previous:</b> <a class="sectref" href="inst-makeinstall.html">2.3.1 Running make install</A>
42
<b class="navlabel">Up:</b> <a class="sectref" href="inst-installing.html">2.3 Installing</A>
43
<b class="navlabel">Next:</b> <a class="sectref" href="inst-testing.html">2.4 Testing</A>
46
<!--End of Navigation Panel-->
48
<H2><A NAME="SECTION004320000000000000000"> </A>
50
2.3.2 Configuring Apache
56
<LI>If you compiled mod_python as a DSO, you will need to tell Apache to
57
load the module by adding the following line in the Apache
58
configuration file, usually called <span class="file">httpd.conf</span> or
59
<span class="file">apache.conf</span>:
62
<dl><dd><pre class="verbatim">
63
LoadModule python_module libexec/mod_python.so
67
<a name="l2h-11"> </a> The actual path to <b class="program">mod_python.so</b> may vary, but make install
68
should report at the very end exactly where <b class="program">mod_python.so</b>
69
was placed and how the <code>LoadModule</code> directive should appear.
77
<DIV CLASS="navigation">
79
<table align="center" width="100%" cellpadding="0" cellspacing="2">
81
<td><A href="inst-makeinstall.html"><img src="icons/previous.gif"
82
border="0" height="32"
83
alt="Previous Page" width="32"></A></td>
84
<td><A href="inst-installing.html"><img src="icons/up.gif"
85
border="0" height="32"
86
alt="Up One Level" width="32"></A></td>
87
<td><A href="inst-testing.html"><img src="icons/next.gif"
88
border="0" height="32"
89
alt="Next Page" width="32"></A></td>
90
<td align="center" width="100%">Mod_python Manual</td>
91
<td><A href="contents.html"><img src="icons/contents.gif"
92
border="0" height="32"
93
alt="Contents" width="32"></A></td>
94
<td><img src="icons/blank.gif"
95
border="0" height="32"
96
alt="" width="32"></td>
97
<td><A href="genindex.html"><img src="icons/index.gif"
98
border="0" height="32"
99
alt="Index" width="32"></A></td>
101
<b class="navlabel">Previous:</b> <a class="sectref" href="inst-makeinstall.html">2.3.1 Running make install</A>
102
<b class="navlabel">Up:</b> <a class="sectref" href="inst-installing.html">2.3 Installing</A>
103
<b class="navlabel">Next:</b> <a class="sectref" href="inst-testing.html">2.4 Testing</A>
105
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
107
<!--End of Navigation Panel-->