ldc-sbv/maintenance.htaccess
2017-08-08 12:06:05 +02:00

9 lines
317 B
Text

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !/maintenance.html$
RewriteCond %{REQUEST_URI} !/Maintenance-Site-SBV.jpg$
# use X-FORWARDED-FOR whith haproxy
RewriteCond %{HTTP:X-FORWARDED-FOR} !217.15.92.67
RewriteRule $ /maintenance.html [R=302,L]
</IfModule>