Commit e225b695 authored by Wágner Ferenc's avatar Wágner Ferenc
Browse files

Provide a simple switch to deactivate the Mailman web interface

parent b0698c28
<!--?xml version="1.0" encoding="UTF-8" ?-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<p>Kérjük, próbálkozzon újra később.</p>
<p>Please try again later.</p>
......@@ -53,14 +53,17 @@
when: vault_open is defined
notify: Reload Apache
- name: Provide favicon.ico
- name: Provide static files
become: yes
src: favicon.ico
dest: /var/www/html/favicon.ico
src: "{{ item }}"
dest: /var/www/html/{{ item }}
owner: root
group: root
mode: 0644
- favicon.ico
- maintenance.html
- name: Configure Munin plugins
become: yes
......@@ -98,6 +98,9 @@ ServerName https://{{ list_domain }}
DocumentRoot /var/www/html
# Catch-all page for temporary deactivation:
#AliasMatch .* /var/www/html/maintenance.html
# Not a ScriptAlias, because the page text asks to modify the URL for hidden lists:
RedirectMatch permanent ^/$ /mailman/listinfo/
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
......@@ -124,4 +127,7 @@ Alias /illik.html /usr/share/mailman/hu/illik.html
<Files favicon.ico>
Require all granted
<Files maintenance.html>
Require all granted
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment