admin:services:mailman
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
admin:services:mailman [2016/08/25 10:27] – [Configuration Apache] Nettoyage conf inutile pour navigateurs obsolètes (IE) david | admin:services:mailman [2017/02/24 22:51] – [Configuration Apache] Ajout VHOST archives david.sinquin | ||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
===== Installation mailman ===== | ===== Installation mailman ===== | ||
- | # aptitude | + | # apt install mailman |
# dpkg-reconfigure mailman | # dpkg-reconfigure mailman | ||
Ligne 36: | Ligne 36: | ||
===== Configuration Apache ===== | ===== Configuration Apache ===== | ||
- | # nano / | + | Il faut créer deux VHOST, un pour la gestion des listes, l' |
- | + | ||
- | <file apache> | + | |
- | < | + | |
- | ServerName lists.federez.net | + | |
- | Redirect permanent / https:// | + | |
- | + | ||
- | # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. | + | |
- | LogLevel warn | + | |
- | ErrorLog ${APACHE_LOG_DIR}/ | + | |
- | CustomLog ${APACHE_LOG_DIR}/ | + | |
- | </ | + | |
+ | <file apache / | ||
< | < | ||
ServerName lists.federez.net | ServerName lists.federez.net | ||
Ligne 56: | Ligne 46: | ||
Options ExecCGI | Options ExecCGI | ||
AddHandler cgi-script .cgi | AddHandler cgi-script .cgi | ||
- | | + | |
- | Allow from all | + | |
</ | </ | ||
< | < | ||
Options FollowSymlinks | Options FollowSymlinks | ||
AllowOverride None | AllowOverride None | ||
- | | + | |
- | Allow from all | + | |
</ | </ | ||
< | < | ||
AllowOverride None | AllowOverride None | ||
- | | + | |
- | Allow from all | + | |
</ | </ | ||
Ligne 95: | Ligne 82: | ||
# SSL | # SSL | ||
SSLEngine on | SSLEngine on | ||
- | SSLCertificateFile | + | SSLCertificateFile /etc/letsencrypt/live/federez.net/fullchain.pem |
- | SSLCertificateKeyFile | + | SSLCertificateKeyFile /etc/letsencrypt/live/federez.net/privkey.pem |
- | | + | </ |
- | | + | </ |
+ | |||
+ | <file apache | ||
+ | < | ||
+ | ServerName archives.federez.net | ||
+ | DocumentRoot | ||
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | |||
+ | SSLEngine on | ||
+ | SSLCertificateFile / | ||
+ | | ||
+ | |||
+ | < | ||
+ | Include | ||
+ | AllowOverride None | ||
+ | Options -Indexes +FollowSymlinks | ||
+ | </Directory> | ||
+ | < | ||
+ | Require all denied | ||
+ | </ | ||
+ | <Files ~ " | ||
+ | Require all denied | ||
+ | </ | ||
</ | </ | ||
</ | </ | ||
# a2ensite mailman | # a2ensite mailman | ||
+ | # a2ensite archives | ||
# adduser www-data list | # adduser www-data list | ||
# service apache2 reload | # service apache2 reload |
admin/services/mailman.txt · Dernière modification : 2018/12/04 17:19 de lazouz