Hi,
Sorry, I found that port 8000/8001 is working so the REST_API_URL should be working fine.
Franklin Weng <franklin@goodhorse.idv.tw> 於 2019年10月30日 週三 下午10:17寫道:
Hi,
Then I found that
MAILMAN_REST_API_URL = 'http://localhost:8001'
the URL does not work either (404 Page not found), but I didn't find any error log about that.
My apache setting is: 000-default.conf: port 80, didn't change the default setting (/var/www/html/index.html replaced) 001-lists.conf: server name "lists.slat.org", port 80 Redirect "/" to " https://lists.slat.org/". Port 443 has all the SSL and mailman alias set.
In this case how should I set the API_URL and hyperkitty URL?
Thanks, Franklin
Tamas HOLCZER via Mailman-users <mailman-users@mailman3.org> 於 2019年10月30日 週三 下午8:09寫道:
Hi Franklin,
when I installed mailman3 on Debian I had some issues. One was about MAILMAN_ARCHIVER_FROM. It turned out, that the request to Hyperkitty was sent from one of the real IPs of the machine (not from localhost). This depends on the interfaces and the routing of that machine. In my case the solution was something like:
MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1', '1.2.3.4', '1.2.3.5') , where 1.2.3.4 and 1.2.3.5 are the IP addresses of the machine running mailman3 (I have not debugged if it is using .4 or .5 in reality I left both of them there). Give it a try with your IPs.
Tamás
-- Franklin Weng 中華民國軟體自由協會常務理事 LibreOffice 導入專家 LibreOffice 法人代表文件基金會董事、認證委員會委員 KDE 協會成員、歐洲自由軟體基金會成員