Apache Configuration for Mailman

View: New views
2 Messages — Rating Filter:   Alert me  

Apache Configuration for Mailman

by Carlwill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@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?
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@...
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com

Security Policy: http://wiki.list.org/x/QIA9

Re: Apache Configuration for Mailman

by Mark Sapiro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Carlos Williams wrote:

>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@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:


I am guessing that there is a /etc/httpd/conf.d/mailman file that was
installed as part of the RedHat/CentOS Mailman package that contains a
ScriptAlias /mailman/ and other directives.

Are you installing a package? Did you previously install a package and
are you now installing from source? If you are installing a package,
follow the package's documentation. If you are installing from source
over a package, first remove the package.

--
Mark Sapiro <mark@...>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@...
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com