adding maintenance info

This commit is contained in:
Janis Steiner
2024-12-08 10:07:14 +00:00
parent c31324c794
commit 9836ea77e4
4 changed files with 53 additions and 1 deletions

View File

@@ -11,6 +11,16 @@
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Rewrite-Engine aktivieren
RewriteEngine On
# IP-Adresse des Entwicklers zulassen
RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.000$
# Alles auf die Wartungsseite umleiten
RewriteCond %{REQUEST_URI} !/app/maintenance.html$
RewriteRule ^ /app/maintenance.html [R=307,L]
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular