Thanks a lot for all your valuable help!
I've followed the guide at <https://docs.mailman3.org/en/latest/install/virtualenv.html>
I need to run mailman 2 and mailman 3 in parallel until I've migrated all lists, on several domains.
I created the file /etc/httpd/conf.d/mailman3.conf with the content
<VirtualHost *:80> ErrorLog logs/mailman3-error_log CustomLog logs/mailman3-access_log common
RewriteEngine on
RewriteCond %{HTTPS} off [NC]
RewriteRule ^/mailman3(/.*) https://%{HTTP_HOST}/mailman3$1 [L,R=permanent]
</VirtualHost>
<VirtualHost *:443> ErrorLog logs/mailman3-error_log CustomLog logs/mailman3-access_log common include conf.d/certref.inc SSLEngine on </VirtualHost>
<location /mailman3> ProxyPass http://localhost:8000 </location>
The idea is to prepare mailman3 for several virtual domains.
When I connect to lamasti.net/mailman3, the title is example.com. How can I change that?
Thanks Lars
On 12/31/22 11:21, Lars Bjørndal wrote:
The idea is to prepare mailman3 for several virtual domains.
When I connect to lamasti.net/mailman3, the title is example.com. How can I change that?
There are threads on this in the archives. See https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/... for example.
If you go to https://example.com/mailman3/domains/ you should see the domains you have configured with their SITE_ID shown in the Web Host column.
If you set SITE_ID in your Django settings to one if those values, that is the host name that will be displayed. There is usually a default example.com with SITE_ID = 1 even if it doesn't display on the domains view.
If you have multiple web hosts you want SITE_ID = 0 to display the host in the http request.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Lars Bjørndal
-
Mark Sapiro