Mailman: make the old archives available
This commit is contained in:
parent
23f951b47f
commit
5aab4d2d7e
2 changed files with 19 additions and 0 deletions
|
@ -48,6 +48,12 @@
|
|||
- mailman
|
||||
- selinux
|
||||
|
||||
- name: set the SELinux policy for the old static archives
|
||||
command: semanage fcontext -a -t httpd_sys_content_t "{{ mailman_webui_basedir }}/old-archives/pipermail(/.*)?"
|
||||
tags:
|
||||
- mailman
|
||||
- selinux
|
||||
|
||||
- name: allow Apache to remotely connect to PostgreSQL
|
||||
seboolean: name=httpd_can_network_connect_db state=yes persistent=yes
|
||||
tags:
|
||||
|
|
|
@ -25,3 +25,16 @@ WSGIPythonOptimize 1
|
|||
Allow from all
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
|
||||
# Old static archives
|
||||
|
||||
Alias /pipermail/ {{ mailman_webui_basedir }}/old-archives/pipermail/
|
||||
<Directory {{ mailman_webui_basedir }}/old-archives/pipermail>
|
||||
Options MultiViews FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
AddDefaultCharset Off
|
||||
</Directory>
|
||||
|
||||
RedirectMatch ^/pipermail[/]*$ /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue