Created
January 9, 2018 10:14
-
-
Save l4ci/d81ca09027354c90e1d764451b79c41d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wartungsmodus | |
RewriteCond %{REMOTE_ADDR} !=84.46.78.143 | |
RewriteCond %{REQUEST_URI} !=/wartung.html | |
RewriteRule ^(.*)$ /wartung.html?%{REMOTE_ADDR} [R=503,L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Wartungsmodus</title> | |
<meta http-equiv="refresh" content="5; URL=/"> | |
</head> | |
<body> | |
<center> | |
<h1>Wartungsmodus</h1> | |
<p>Diese Webseite befindet sich derzeit im Wartungsmodus<br> | |
- versuchen Sie es in einigen Minuten nochmal!</p> | |
</center> | |
<script> | |
setTimeout(function(){ window.location = '/'; }, 5000); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment