On 23 Jul 2020, at 7:40, Odhiambo Washington wrote:
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
That's the 'listinfo' ELF binary. That indicates a webserver
misconfiguration: it's sending what it should be executing.
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
Have you considered the options of installing the prebuilt package or
from the ports tree? Either may work for you without any fuss.
2. The files in /usr/local/mailman:
[...]
drwxrwsrwx 22 root mailman512 Jul 29 2017 mailman
Probably unrelated, but that's very disturbing.
[...]
VirtualHost configuration:
Ok, this is for http://whatever...
ServerName lists.mydom.ain
ServerAdmin odhia...@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]
That kicks you over to a port 443 virtual host.
RedirectPermanent /htdig /icons/htdig
RedirectMatch ^/mailman[/]*$ /mailman/listinfo/
Alias /pipermail "/usr/local/mailman/archives/public"
Options Indexes FollowSymlinks
AllowOverride all
Order Allow,Deny
Allow from all
Require all granted
ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
This applies to the port 80 vhost. Do you have the same in your port 443
vhost?
Options FollowSymLinks ExecCGI
AllowOverride None
Order Allow,Deny
Allow from all
Require all granted
What is it that I am being blind to that makes the web UI not open?
My guess: no ScriptAlias directive in the port 443 vhost.
Thanking you in advance for being my third eye.
I hope the above qualifies...
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives:
https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/
--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not For Hire (currently)
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/