我刚刚从 Ubuntu 服务器升级到 14.0.4 LTS,我无法再通过 Web 界面访问 Mailman。我收到 403 禁止错误(禁止:您无权访问 /cgi-bin/mailman/)。我已经检查了几次 apache 配置,但没有发现问题。
我正在运行 Apache 2.4.7 和 Mailman 2.1.16。这是我的 /etc/mailman/apache2.conf 中的配置。我不知道在哪里可以看到这一点。会不会是虚拟主机问题?
# Logos:
Alias /images/mailman/ /usr/share/images/mailman/
# Use this if you don't want the "cgi-bin" component in your URL:
# In case you want to access mailman through a shorter URL you should enable
# this:
#ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
# In this case you need to set the DEFAULT_URL_PATTERN in
# /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
# authentication code to work. Note that you need to change the base
# URL for all the already-created lists as well.
<Directory /usr/lib/cgi-bin/mailman/>
AllowOverride all
Options +ExecCGI
AddHandler cgi-script .cgi index.cgi
Order allow,deny
Allow from all
</Directory>
<Directory /var/lib/mailman/archives/public/>
Options +FollowSymlinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/images/mailman/>
AllowOverride all
Order allow,deny
Allow from all
</Directory>