1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
5
<link rel="first" href="mailman-install.html" title='GNU Mailman - Installation Manual' />
6
<link rel='last' href='about.html' title='About this document...' />
7
<link rel='help' href='about.html' title='About this document...' />
8
<link rel="next" href="mail-server.html" />
9
<link rel="prev" href="node9.html" />
10
<link rel="parent" href="front.html" />
11
<link rel="next" href="mail-server.html" />
12
<meta name='aesop' content='information' />
13
<title>5 Set up your web server</title>
16
<DIV CLASS="navigation">
17
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
18
<table align="center" width="100%" cellpadding="0" cellspacing="2">
20
<td class='online-navigation'><a rel="prev" title="4 Check your installation"
21
href="node9.html"><img src='previous.png'
22
border='0' height='32' alt='Previous Page' width='32' /></A></td>
23
<td class='online-navigation'><a rel="parent" title="Front Matter"
24
href="front.html"><img src='up.png'
25
border='0' height='32' alt='Up One Level' width='32' /></A></td>
26
<td class='online-navigation'><a rel="next" title="6 Set up your"
27
href="mail-server.html"><img src='next.png'
28
border='0' height='32' alt='Next Page' width='32' /></A></td>
29
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
30
<td class='online-navigation'><img src='blank.png'
31
border='0' height='32' alt='' width='32' /></td>
32
<td class='online-navigation'><img src='blank.png'
33
border='0' height='32' alt='' width='32' /></td>
34
<td class='online-navigation'><img src='blank.png'
35
border='0' height='32' alt='' width='32' /></td>
37
<div class='online-navigation'>
38
<b class="navlabel">Previous:</b>
39
<a class="sectref" rel="prev" href="node9.html">4 Check your installation</A>
40
<b class="navlabel">Up:</b>
41
<a class="sectref" rel="parent" href="front.html">Front Matter</A>
42
<b class="navlabel">Next:</b>
43
<a class="sectref" rel="next" href="mail-server.html">6 Set up your</A>
47
<!--End of Navigation Panel-->
49
<H1><A NAME="SECTION001500000000000000000">
50
5 Set up your web server</A>
54
Congratulations! You've installed the Mailman software. To get everything
55
running you need to hook Mailman up to both your web server and your mail
59
If you plan on running your mail and web servers on different machines,
60
sharing Mailman installations via NFS, be sure that the clocks on those two
61
machines are synchronized closely. You might take a look at the file
62
<span class="file">Mailman/LockFile.py</span>; the constant <var>CLOCK_SLOP</var> helps the locking
63
mechanism compensate for clock skew in this type of environment.
66
This section describes some of the things you need to do to connect Mailman's
67
web interface to your web server. The instructions here are somewhat geared
68
toward the Apache web server, so you should consult your web server
69
documentation for details.
72
You must configure your web server to enable CGI script permission in the
73
<span class="file"><var>$prefix</var>/cgi-bin</span> to run CGI scripts. The line you should add
74
might look something like the following, with the real absolute directory
75
substituted for <var>$prefix</var>, of course:
78
<div class="verbatim"><pre>
79
Exec /mailman/* $prefix/cgi-bin/*
86
<div class="verbatim"><pre>
87
ScriptAlias /mailman/ $prefix/cgi-bin/
91
<div class="warning"><b class="label">Warning:</b>
93
You want to be very sure that the user id under which your CGI scripts run is
94
<strong>not</strong> in the <code>mailman</code> group you created above, otherwise private
95
archives will be accessible to anyone.
99
Copy the Mailman, Python, and GNU logos to a location accessible to your web
100
server. E.g. with Apache, you've usually got an <span class="file">icons</span> directory that
101
you can drop the images into. For example:
104
<div class="verbatim"><pre>
105
% cp $prefix/icons/*.{jpg,png} /path/to/apache/icons
109
You then want to add a line to your <span class="file"><var>$prefix</var>/Mailman/mm_cfg.py</span>
110
file which sets the base URL for the logos. For example:
113
<div class="verbatim"><pre>
114
IMAGE_LOGOS = '/images/'
118
The default value for <var>IMAGE_LOGOS</var> is <span class="file">/icons/</span>. Read the comment
119
in <span class="file">Defaults.py.in</span> for details.
122
Configure your web server to point to the Pipermail public mailing list
123
archives. For example, in Apache:
126
<div class="verbatim"><pre>
127
Alias /pipermail/ $varprefix/archives/public/
131
where <var>$varprefix</var> is usually <var>$prefix</var> unless you've used the
132
<b class="programopt">--with-var-prefix</b> option to <b class="program">configure</b>. Also be
133
sure to configure your web server to follow symbolic links in this directory,
134
otherwise public Pipermail archives won't be accessible. For Apache users,
135
consult the <var>FollowSymLinks</var> option.
138
If you're going to be supporting internationalized public archives, you will
139
probably want to turn off any default charset directive for the Pipermail
140
directory, otherwise your multilingual archive pages won't show up correctly.
141
Here's an example for Apache, based on the standard installation directories:
144
<div class="verbatim"><pre>
145
<Directory "/usr/local/mailman/archives/public/">
146
AddDefaultCharset Off
151
Now restart your web server.
155
<DIV CLASS="navigation">
156
<div class='online-navigation'>
158
<table align="center" width="100%" cellpadding="0" cellspacing="2">
160
<td class='online-navigation'><a rel="prev" title="4 Check your installation"
161
href="node9.html"><img src='previous.png'
162
border='0' height='32' alt='Previous Page' width='32' /></A></td>
163
<td class='online-navigation'><a rel="parent" title="Front Matter"
164
href="front.html"><img src='up.png'
165
border='0' height='32' alt='Up One Level' width='32' /></A></td>
166
<td class='online-navigation'><a rel="next" title="6 Set up your"
167
href="mail-server.html"><img src='next.png'
168
border='0' height='32' alt='Next Page' width='32' /></A></td>
169
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
170
<td class='online-navigation'><img src='blank.png'
171
border='0' height='32' alt='' width='32' /></td>
172
<td class='online-navigation'><img src='blank.png'
173
border='0' height='32' alt='' width='32' /></td>
174
<td class='online-navigation'><img src='blank.png'
175
border='0' height='32' alt='' width='32' /></td>
177
<div class='online-navigation'>
178
<b class="navlabel">Previous:</b>
179
<a class="sectref" rel="prev" href="node9.html">4 Check your installation</A>
180
<b class="navlabel">Up:</b>
181
<a class="sectref" rel="parent" href="front.html">Front Matter</A>
182
<b class="navlabel">Next:</b>
183
<a class="sectref" rel="next" href="mail-server.html">6 Set up your</A>
187
<span class="release-info">Release 2.1, documentation updated on December 13, 2005.</span>
189
<!--End of Navigation Panel-->