Duncan Drury wrote: >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.
What listinfo file? The binary wrapper? >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. If Apache is actually delivering the /usr/lib/mailman/cgi-bin wrapper files instead of executing them, there is something wrong with the apache config. What do apache's access_log and error_log say for the access? >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 and presumably puts them in /etc/httpd/conf.d/mailman.conf. Is there anything in /etc/httpd/conf/httpd.conf that might contradict the ScriptAlias? >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 Permissions are as they should be. >I'm able to run these scripts from shell (although they don't like being run >as any user other than apache and stop). That's as it should be, so they work. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] 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/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
