[Mailman-Users] Apache Configuration for Mailman

Carlos Williams carloswill at gmail.com
Thu Oct 8 14:57:17 CEST 2009


I am trying to install / configure MailMan on my mail server which is
running Postfix 2.6 & Apache 2 on CentOS 5 x64. I am following the
guide on the MailMan page labeled "5 Set up your web server". I am
confused here because it advises me to do the following:

  ScriptAlias /mailman/       /usr/lib/mailman/cgi-bin/

When I add that line into my /etc/httpd/conf/httpd.conf file, I get
this error when I restart Apache:

[root at mail conf]# service httpd restart
Stopping httpd:                                            [OK]
Starting httpd: [Tue Oct 06 14:51:49 2009] [warn] The ScriptAlias
directive in /etc/httpd/conf/httpd.conf at line 565 will probably
never match because it overlaps an earlier ScriptAlias.
                                                          [  OK  ]


So now I am wondering if this means I placed it in the wrong section
of my httpd.conf file. I really don't know so I am asking you guys
what I am doing wrong? In my httpd.conf file in CentOS, I placed it on
line 565 in the section that looked appropriate:

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

ScriptAlias /mailman/ "/usr/lib/mailman/cgi-bin/"

#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
   AllowOverride None
   Options None
   Order allow,deny
   Allow from all
</Directory>


Can someone please tell me what I am doing wrong?


More information about the Mailman-Users mailing list