Date: Thu, 23 Jul 2020 20:49:53 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: questions <questions@freebsd.org> Subject: Problem running CGI - Mailman Admin UI Message-ID: <CAAdA2WO7nHMUB%2Bdb5hYYXSge_GrD_QLmMfr_CY2%2B7JRu7eyRDg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello List Admins, I am somehow at the end of my thinking capacity with this problem, yet I think it's something minor that a third eye can help me with: I have installed mailman-2.1.34 on a brand new box running FreeBSD-12.1. The problem is that the web UI won't open. It instead prompts me to download a file. The contents of the file can be seen from the below link: https://pastebin.com/8bh6g6rv <https://pastebin.com/8bh6g6rv>How I have done the installation: 1. I did the manual options cd mailman-2.1.34 ./configure --with-cgi-gid=80 --with-mail-gid=26 make make install 2. The files in /usr/local/mailman: drwxrwsr-x 24 root mailman 1024 Jul 22 17:42 . drwxr-xr-x 29 root wheel 1024 Jul 19 16:08 .. drwxrwsr-x 11 root mailman 3072 Jul 22 15:52 Mailman drwxrwsr-x 5 mailman mailman 512 Jul 19 17:32 archives drwxrwsr-x 2 root mailman 1536 Jul 22 15:52 bin drwxrwsr-x 2 root mailman 512 Jul 22 15:52 cgi-bin drwxrwsr-x 2 root mailman 512 Jul 23 02:19 cron drwxrwsr-x 2 root mailman 512 Jul 22 15:52 data drwxrwsr-x 2 root mailman 512 Jul 22 15:52 icons -rw-r--r-- 1 root mailman 10 Apr 18 2015 last_mailman_version drwxrwsr-x 27 root mailman 1024 Jul 19 17:32 lists drwxrwsr-x 2 root mailman 512 Jul 23 12:00 locks drwxrwsr-x 2 root mailman 512 Jul 22 12:44 logs drwxrwsr-x 2 root mailman 512 Jul 22 15:52 mail drwxrwsrwx 22 root mailman 512 Jul 29 2017 mailman drwxrwsr-x 41 root mailman 512 Dec 7 2018 messages drwxrwsr-x 3 root mailman 512 Jul 19 17:32 pythonlib drwxrwsr-x 12 root mailman 512 Jul 19 17:32 qfiles drwxrwsr-x 2 root mailman 512 Jul 22 15:52 scripts drwxrwsr-x 2 root mailman 512 Jul 19 17:32 spam drwxrwsr-x 45 root mailman 1024 Jul 19 17:32 templates drwxrwsr-x 4 root mailman 512 Jul 22 15:52 tests 3. The file perms in the cgi-bin/ -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 admin -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 admindb -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 confirm -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 create -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 edithtml -rwxr-sr-x 1 root mailman 19312 Jul 19 17:32 htdig -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 listinfo -rwxr-sr-x 1 root mailman 19312 Jul 19 17:32 mmsearch -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 options -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 private -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 rmlist -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 roster -rw-r-Sr-- 1 root mailman 37742 Nov 25 2012 sitemap.xml.gz -rwxr-sr-x 1 root mailman 32728 Jul 22 15:52 subscribe -rwxr-sr-x 1 root mailman 108566 Oct 23 2009 swish.cgi root@gw:/usr/local/etc/apache24/Includes # id mailman uid=91(mailman) gid=91(mailman) groups=91(mailman),26(mailnull),80(www) root@gw:/usr/local/etc/apache24/Includes # id www uid=80(www) gid=80(www) groups=80(www),72(rt4) VirtualHost configuration: <VirtualHost *:80> ServerName lists.mydom.ain ServerAdmin odhiambo@gmail.com ErrorLog /var/log/mailman-error.log RewriteEngine On # RedirectPermanent /mailman/ https://lists.kictanet.or.ke/mailman/ RewriteRule ^/(mailman|pipermail|icons|htdig)/.+$ - [S=1] RewriteRule ^/(mailman|pipermail|icons|htdig)(/.*) https://%{HTTP_HOST}/$1$2$3$4 [L,R] RedirectPermanent /htdig /icons/htdig RedirectMatch ^/mailman[/]*$ /mailman/listinfo/ Alias /pipermail "/usr/local/mailman/archives/public" <Directory /usr/local/mailman/archives/public/> Options Indexes FollowSymlinks AllowOverride all Order Allow,Deny Allow from all Require all granted </Directory> ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/ <Directory /usr/local/mailman/cgi-bin/> Options FollowSymLinks ExecCGI AllowOverride None Order Allow,Deny Allow from all Require all granted </Directory> </VirtualHost> What is it that I am being blind to that makes the web UI not open? Thanking you in advance for being my third eye. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WO7nHMUB%2Bdb5hYYXSge_GrD_QLmMfr_CY2%2B7JRu7eyRDg>