网页浏览总次数

2010年11月20日星期六

让Mailman的web GUI使用 HTTPS

修改 apache 的配置,比如 /etc/httpd/conf.d/mailman.conf,把 RedirectMatch 行替换成

RedirectMatch ^/mailman[/]*$ https:///mailman/listinfo

修改 mailman 配置文件 mm_cfg.py,替换如下配置项

# 确保新列表的 web_page_url 属性使用该url模式
DEFAULT_URL_PATTERN = 'https://%s/mailman/'

# 让公开的归档也通过https访问
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'

修复现有的列表url地址

$prefix/bin/withlist -l -r fix_url

或者修复所有既有的列表地址

$prefix/bin/withlist -l -a -r fix_url


参考 http://wiki.list.org/display/DOC/4.27+Securing+Mailman's+web+GUI+by+using+Secure+HTTP-SSL

没有评论:

发表评论