thanks..
got it :)
ip based access to admins only, 503 for rest

.htaccess
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^201\.203\.149\.149$
RewriteRule !down.php$ down.php [L]

down.php
<?php
header("HTTP/1.1 503 Service Unavailable");
echo "Server is down for maintenance. We will be back in 60 minutes.";
?>


-- 
View this message in context: 
http://www.nabble.com/How-to-disable-website-during-maintainance-tp24148940p24150271.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to