J'ai besoin d'intimité. Non pas parce que mes actions sont douteuses, mais parce que votre jugement et vos intentions le sont.
5124 links
Le fichier .htaccess
RewriteCond %{REQUEST_URI} !/maintenance.html$
RewriteCond %{REMOTE_ADDR} !255.34.56.78
RewriteRule .* http://lehollandaisvolant.net/maintenance.html [L]
Et le code php à placer dans l'entête du fichier cible
<?php
ob_start();
header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Status: 503 Service Temporarily Unavailable');
header('Retry-After: 3600');
header('X-Powered-By:');
?>
via http://lehollandaisvolant.net/index.php?d=2013/03/01/13/00/05-apache-mettre-son-site-en-maintenance