//trunk/maintenance/.htaccess |
---|
New file |
0,0 → 1,0 |
AddDefaultCharset UTF-8 |
//trunk/maintenance/maintenance.htaccess |
---|
New file |
0,0 → 1,16 |
# Exemple de fichier .htaccess à déposer dans chaque dossier que l'on souhaite mettre en maintenance |
# On active le RewriteEngine |
RewriteEngine on |
# On ne redirige pas la page maintenance sur elle même pour éviter les boucles |
# RewriteCond %{REQUEST_URI} !maintenance.html |
# On ne redirige pas les feuilles de style (répertoire css) et les images (répertoire img) |
RewriteCond %{REQUEST_FILENAME} !(css|img).+$ |
# On n'effectue pas la redirection pour l'adresse IP de la personne procédant à la maintenance |
RewriteCond %{REMOTE_ADDR} !^162\.38\.234\.6$ |
RewriteCond %{REMOTE_ADDR} !^162\.38\.234\.9$ |
RewriteCond %{REMOTE_ADDR} !^162\.38\.234\.16$ |
RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$ |
# On redirige le reste sur la page de maintenance |
RewriteRule (.*) /maintenance/maintenance.html [R=302,L] |
//trunk/maintenance/fond.jpg |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
//trunk/maintenance/fond.jpg |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
//trunk/maintenance/maintenance.html |
---|
New file |
0,0 → 1,59 |
<html> |
<head> |
<style media="screen" type="text/css"> |
body { |
background-image: url('fond.jpg'); |
background-repeat: no-repeat; |
} |
.bloc-centre { |
position: absolute; |
top:0; |
bottom: 0; |
left: 0; |
right: 0; |
width: 700px; |
height: 350px; |
margin: auto; |
padding-top: 20px; |
text-align: center; |
border: solid #daf0da 1px; |
border-radius : 10px; |
} |
.bloc-centre h1 { |
margin-bottom: 0; |
font-family: Trebuchet MS, Calibri, Verdana, Nimbus, Times, Arial; |
font-size: 1.7em; |
color: #202020; |
} |
.bloc-centre h2 { |
margin-top: 10px; |
margin-bottom: 0; |
font-family: Trebuchet MS, Calibri, Verdana, Nimbus, Times, Arial; |
font-size: 1.3em; |
color: #808080; |
} |
.bloc-centre h3 { |
margin-top: 5px; |
margin-bottom: 0; |
font-family: Trebuchet MS, Calibri, Verdana, Nimbus, Times, Arial; |
font-size: 1em; |
font-weight: normal; |
font-style: italic; |
color: #a0a0a0; |
} |
.bloc-centre h3 strong { |
font-weight: bold; |
font-style: normal; |
color: #505050; |
} |
</style> |
</head> |
<body> |
<div class="bloc-centre"> |
<img src="logo-petit.png" alt="Tela-Botanica"/> |
<h1>Cette application est en cours de maintenance</h1> |
<h3>le mercredi <strong>25/11/2013</strong> de <strong>08:00</strong> à <strong>19:00</strong></h3> |
<h2>Veuillez nous excuser pour la gêne occasionnée</h2> |
</div> |
</body> |
</html> |
//trunk/maintenance/logo-petit.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
//trunk/maintenance/logo-petit.png |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |