ldc-sbv/maintenance.htaccess

10 lines
317 B
Text
Raw Normal View History

2017-08-08 12:06:05 +02:00
<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>