# Configuration for Debian mailman with Apache
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi
Require all granted
Options FollowSymlinks
AllowOverride None
Require all granted
AllowOverride None
Require all granted
ServerName lists.example.com
Redirect "/" "https://lists.example.com/"
DocumentRoot /var/www/lists
ErrorLog /var/log/apache2/lists-error.log
CustomLog /var/log/apache2/lists-access.log combined
Options FollowSymLinks
AllowOverride None
Alias /URL_ROOT/pipermail/ /var/lib/mailman/archives/public/
Alias /images/mailman/ /usr/share/images/mailman/
ScriptAlias /URL_ROOT/admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /URL_ROOT/admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /URL_ROOT/confirm /usr/lib/cgi-bin/mailman/confirm
ScriptAlias /URL_ROOT/create /usr/lib/cgi-bin/mailman/create
ScriptAlias /URL_ROOT/edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /URL_ROOT/listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /URL_ROOT/options /usr/lib/cgi-bin/mailman/options
ScriptAlias /URL_ROOT/private /usr/lib/cgi-bin/mailman/private
ScriptAlias /URL_ROOT/rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /URL_ROOT/roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /URL_ROOT/subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /URL_ROOT/mailman/ /usr/lib/cgi-bin/mailman/
ServerName lists.example.com
DocumentRoot /var/www/lists
ErrorLog /var/log/apache2/lists-error.log
CustomLog /var/log/apache2/lists-access.log combined
Options FollowSymLinks
AllowOverride None
Alias /URL_ROOT/pipermail/ /var/lib/mailman/archives/public/
Alias /images/mailman/ /usr/share/images/mailman/
ScriptAlias /URL_ROOT/admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /URL_ROOT/admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /URL_ROOT/confirm /usr/lib/cgi-bin/mailman/confirm
ScriptAlias /URL_ROOT/create /usr/lib/cgi-bin/mailman/create
ScriptAlias /URL_ROOT/edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /URL_ROOT/listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /URL_ROOT/options /usr/lib/cgi-bin/mailman/options
ScriptAlias /URL_ROOT/private /usr/lib/cgi-bin/mailman/private
ScriptAlias /URL_ROOT/rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /URL_ROOT/roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /URL_ROOT/subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /URL_ROOT/mailman/ /usr/lib/cgi-bin/mailman/
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key