Apache should include a configuration like this :
ewriteEngine On
RewriteCond %{REMOTE_ADDR} !your-ip-address
RewriteCond %{DOCUMENT_ROOT}/maintenance.html -f
RewriteCond %{DOCUMENT_ROOT}/maintenance.enable -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteCond %{REQUEST_URI} !^/?(maintenance)/
RewriteRule ^.*$ /maintenance.html [R=503,L]
ErrorDocument 503 /maintenance.html
in order to allow administrators to activate a maintenance info page
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.