aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/files
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/files')
-rw-r--r--modules/profile/files/apache/document_root.conf6
-rw-r--r--modules/profile/files/apache/googleb6d69446ff4ca3e5.html1
-rw-r--r--modules/profile/files/apache/immae.conf13
-rw-r--r--modules/profile/files/apache/letsencrypt.conf6
-rw-r--r--modules/profile/files/apache/maintenance_immae.html58
5 files changed, 84 insertions, 0 deletions
diff --git a/modules/profile/files/apache/document_root.conf b/modules/profile/files/apache/document_root.conf
new file mode 100644
index 0000000..ed9a9ab
--- /dev/null
+++ b/modules/profile/files/apache/document_root.conf
@@ -0,0 +1,6 @@
1DocumentRoot "/srv/http"
2<Directory "/srv/http">
3 Options Indexes FollowSymLinks
4 AllowOverride None
5 Require all granted
6</Directory>
diff --git a/modules/profile/files/apache/googleb6d69446ff4ca3e5.html b/modules/profile/files/apache/googleb6d69446ff4ca3e5.html
new file mode 100644
index 0000000..f732bac
--- /dev/null
+++ b/modules/profile/files/apache/googleb6d69446ff4ca3e5.html
@@ -0,0 +1 @@
google-site-verification: googleb6d69446ff4ca3e5.html
diff --git a/modules/profile/files/apache/immae.conf b/modules/profile/files/apache/immae.conf
new file mode 100644
index 0000000..5e0f3c4
--- /dev/null
+++ b/modules/profile/files/apache/immae.conf
@@ -0,0 +1,13 @@
1ErrorDocument 500 /maintenance_immae.html
2ErrorDocument 501 /maintenance_immae.html
3ErrorDocument 502 /maintenance_immae.html
4ErrorDocument 503 /maintenance_immae.html
5ErrorDocument 504 /maintenance_immae.html
6Alias /maintenance_immae.html /srv/http/maintenance_immae.html
7
8RedirectMatch ^/licen[cs]es?_et_tip(ping)?$ https://www.immae.eu/licences_et_tip.html
9RedirectMatch ^/licen[cs]es?_and_tip(ping)?$ https://www.immae.eu/licenses_and_tipping.html
10RedirectMatch ^/licen[cs]es?$ https://www.immae.eu/licenses_and_tipping.html
11RedirectMatch ^/tip(ping)?$ https://www.immae.eu/licenses_and_tipping.html
12
13AliasMatch "(.*)/googleb6d69446ff4ca3e5.html" /srv/http/googleb6d69446ff4ca3e5.html
diff --git a/modules/profile/files/apache/letsencrypt.conf b/modules/profile/files/apache/letsencrypt.conf
new file mode 100644
index 0000000..b2eaae2
--- /dev/null
+++ b/modules/profile/files/apache/letsencrypt.conf
@@ -0,0 +1,6 @@
1Alias /.well-known/acme-challenge /srv/http/.well-known/acme-challenge
2<Directory /srv/http/.well-known/acme-challenge>
3 Require all granted
4 AllowOverride None
5 ErrorDocument 404 "Not Found"
6</Directory>
diff --git a/modules/profile/files/apache/maintenance_immae.html b/modules/profile/files/apache/maintenance_immae.html
new file mode 100644
index 0000000..90f265f
--- /dev/null
+++ b/modules/profile/files/apache/maintenance_immae.html
@@ -0,0 +1,58 @@
1<!doctype html>
2<html>
3 <head>
4 <title>Maintenance</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <style>
7 body {
8 padding-left: 5px;
9 padding-right: 5px;
10 text-align: center;
11 margin: auto;
12 font: 20px Helvetica, sans-serif;
13 color: #333;
14 }
15 h1 {
16 margin: 0px;
17 font-size: 40px;
18 }
19 article {
20 display: block;
21 max-width: 650px;
22 margin: 0 auto;
23 padding-top: 30px;
24 }
25 article + article {
26 border-top: 1px solid lightgrey;
27 }
28 article div {
29 text-align: justify;
30 }
31 a {
32 color: #dc8100;
33 text-decoration: none;
34 }
35 a:hover {
36 color: #333;
37 }
38 </style>
39 <script type="text/javascript">
40 setTimeout(function () { location.reload(true); }, 5000);
41 </script>
42 </head>
43 <body>
44 <article>
45 <h1>Erreur serveur ou maintenance en cours&nbsp;!</h1>
46 <div>
47 <p>Une mise à jour ou une opération de maintenance est en cours sur le site. <a href="">Retentez</a> dans quelques instants ou patientez, la page se rechargera automatiquement.</p>
48 </div>
49 </article>
50
51 <article>
52 <h1>Server error or website in maintenance!</h1>
53 <div>
54 <p>An update or a maintenance is on track on the website. Please try <a href="">again</a> in a few seconds or wait, the page will reload automatically.</p>
55 </div>
56 </article>
57 </body>
58</html>