[Mailman-Users] Yum install of mailman on CentOS 5
Duncan Drury
d.drury at gmail.com
Fri Jul 11 01:37:08 CEST 2008
I am trying to get mailman working via a yum install on CentOS 5, which is
based on a RedHat rpm of mailman 2.1.9.
I am unable to get the mailman cgi-bin scripts to run via Apache. Rather
than running the scripts, Apache will send the listinfo file to my browser.
I am able to get scripts in other ScriptAlias directories to run, so as far
as I can tell my basic setup of Apache is ok.
The yum install creates the following apache directives:
#
# httpd configuration settings for use with mailman.
#
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
<Directory /usr/lib/mailman/cgi-bin/>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /var/lib/mailman/archives/public>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Uncomment the following line, replacing www.example.com with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).
RedirectMatch ^/mailman[/]*$ http://www.example.com/mailman/listinfo
Permissions in my /usr/lib/mailman/cgi-bin are as follows:
# ls -la
total 104
drwxrwsr-x 2 root mailman 4096 Jul 11 00:18 .
drwxrwsr-x 13 root mailman 4096 Jul 10 23:38 ..
-rwxr-sr-x 1 root mailman 6844 May 24 21:44 admin
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 admindb
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 confirm
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 create
-rwxr-sr-x 1 root mailman 6856 May 24 21:44 edithtml
-rwxr-sr-x 1 root mailman 6856 May 24 21:44 listinfo
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 options
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 private
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 rmlist
-rwxr-sr-x 1 root mailman 6852 May 24 21:44 roster
-rwxr-sr-x 1 root mailman 6856 May 24 21:44 subscribe
I'm able to run these scripts from shell (although they don't like being run
as any user other than apache and stop).
Has anyone come across this problem before, and/or any ideas on how to fix
it?
Thanks very much,
Duncan
More information about the Mailman-Users
mailing list