right adding of mailman 3 conf lines to httpd.conf
Danil Smirnov writes:
Please help me to do this.
if I put deployment/apache.conf into the virtualhost section of httpd.conf I got the following:
httpd[30658]: AH00526: Syntax error on line 428 of /etc/httpd/conf/httpd.conf: httpd[30658]: WSGISocketPrefix cannot occur within <VirtualHost> section
If I put them just outside of any virtualhost tags they produce Server error page.
It would be great if I could put them into :443 virtualhost section to use SSL connection only for the list management/archives.
Is deployment/apache.conf distributed by Mailman (presumably in Mailman-Bundler)? Have you changed it in *any* way (including anything that the installation instructions tell you do do)?
I'm asking because it sounds to me like apache.conf is written to be use only in a non-virtual-host setup, which I would consider a bug that we need to fix.
AFAICS from the modwsgi docs, just move the WSGISocketPrefix out of apache.conf and into a non-vhost area of httpd.conf and you should be golden.
Thank you Stephen!
2015-05-29 19:06 GMT+03:00 Stephen J. Turnbull <stephen@xemacs.org>:
Is deployment/apache.conf distributed by Mailman (presumably in Mailman-Bundler)? Have you changed it in *any* way (including anything that the installation instructions tell you do do)?
No.
AFAICS from the modwsgi docs, just move the WSGISocketPrefix out of apache.conf and into a non-vhost area of httpd.conf and you should be golden.
It helps - I need to move these four directives outside of my virtualhost section:
WSGISocketPrefix run/wsgi WSGIRestrictStdout On WSGIRestrictSignal Off WSGIPythonOptimize 1
to get working httpd.conf but I still can not access Mailman web interface.
I tried https://domain.tld/ , https://domain.tld/mailman3 and both with :8000 port. "Internal Server Error" for the first couple, "Not found" for the second.
Also there is nothing in the logs.
If I open http://127.0.0.1:8000/mailman3 in links
I got the error -
see it in the attach.
Danil
participants (2)
-
Danil Smirnov
-
Stephen J. Turnbull