Page de maintenance : &lt;code&gt;
RewriteEngine on
 RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.000
 RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
 RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|css|js) [NC]
 RewriteRule .* /maintenance.html [R=302,L]
&lt;/code&gt;