summaryrefslogtreecommitdiff
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorbwarsaw2001-08-20 15:04:21 +0000
committerbwarsaw2001-08-20 15:04:21 +0000
commitc9690a16f93f7b510657feecd91f40d0c0273602 (patch)
tree41e8817edb4a427501c12df28518883e83fd67a1 /Mailman/Cgi
parentffed5a227a194bbfb8bb9dad2b2876b63d6c0541 (diff)
downloadmailman-c9690a16f93f7b510657feecd91f40d0c0273602.tar.gz
mailman-c9690a16f93f7b510657feecd91f40d0c0273602.tar.zst
mailman-c9690a16f93f7b510657feecd91f40d0c0273602.zip
Some improvements for virtual host support.
VIRTUAL_HOSTS is a dictionary mapping url base hostnames to email base hostnames. E.g. "mail.python.org" -> "python.org". When a new list is created, we attempt to ascertain the web host from the web request. We use that for web_page_url and then we look it up in VIRTUAL_HOSTS to find host_name. If not found, we use the same host for web_page_url and host_name. DEAFULT_EMAIL_HOST is now the preferred way to specify the default email host_name. It is set by configure to @FQDN@. DEFAULT_URL_HOST is now the preferred way to specify the default host for web_page_url. It is set by configure to @URL@. DEFAULT_URL_PATTERN is how to convert DEFAULT_URL_HOST to web_page_url. It must contain a single %s expansion. For backwards compatibility, DEFAULT_HOST_NAME = DEFAULT_EMAIL_HOST and DEFAULT_URL = DEFAULT_URL_PATTERN % DEFAULT_URL_HOST. Also, added another commented out MAILMAN_URL mirror.
Diffstat (limited to 'Mailman/Cgi')
0 files changed, 0 insertions, 0 deletions