Hi Henrik,
On Mon, Jul 17, 2017, at 02:31 AM, Henrik Rasmussen wrote:
I've just installed Mailman 3.1 on RHEL7 (Docker-Mailman3) and to get the right CSS layout I installed Apache on the Mailman server outside Docker, as advised by Abhilash Raj and Alexander Klotz.
My Mailman server is on a secured network and the https connection from Internet will be handled by proxy servers, so I will be using http (port 80) between proxy-servers and Mailman server.
But when I sign in (currently via an SSH tunnel to the Mailman server from my workstation) I get "Internal error: [client ::1:41912] AH01102: error reading status line from remote server 172.19.199.3:8000, referer: http://localhost/accounts/login/?next=%2Fpostorius%2Flists%2F"
Output from logs might be more helpful to debug what is wrong. They are
present at /opt/mailman/web/logs/mailmanweb.log
for Django. You may
also find some other log files there which are related to uwsgi, the
WSGI server that is used to interface Django with Web Servers like
Apache.
If I type a wrong password, I am just warned about that, so the problem appears when log in is accepted.
I expect that it is because I connect to localhost:80 through SSH tunnel. What do I miss in my Apache configuration on the Mailman server to avoid this problem?
<VirtualHost *:80> ErrorLog /var/log/httpd/error_log LogLevel warn CustomLog /var/log/httpd/access_log combined
ServerAdmin root@example.foo ServerName list.foo.bar Alias /static /opt/mailman/web/static Alias /favicon.ico /opt/mailman/web/static/hyperkitty/img/favicon.ico
ProxyPassMatch ^/static/.* ! ProxyPass / http://172.19.199.3:8000/ ProxyPassReverse / http://172.19.199.3:8000/
<Directory /> Allow from all Require all granted </Directory>
<Directory /opt/mailman/web/static/hyperkitty/img/> Allow from all Require all granted </Directory>
# ssl config here ... </VirtualHost>
Thanks, Henrik Rasmussen
Mailman-users mailing list mailman-users@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj