You could also use settings.php if ($_SERVER['REMOTE_ADDR'] == 'xxx.xxx.xxx.xxx') { $conf['maintenance_mode'] = 1; } where xxx.xxx.xxx.xxx = your (client) IP address. steve steve@stevekarsch.com On Mon, Mar 5, 2012 at 11:51 PM, steve <stever@up-south.com> wrote:
On 3/5/2012 6:59 PM, Ken Robinson wrote:
At 05:57 PM 3/5/2012, Steve wrote:
Use htaccess and you won't affect the rest of your users
Ken Robinson<kenrbnsn@rbnsn.com> wrote:
Is there any way to test a D6 custom maintenance page without putting the site into maintenance mode? That answer doesn't mean a whole lot by itself. Care to explain your answer better?
Ken create a custom mx page then create an htaccess file (or edit your existing one to state the following
assuming that the ip on your machine (not the server) is 1.2.3.4 RewriteEngine on RewriteCond %{REMOTE_ADDR} ^1.2.3.4$ RewriteRule ^(.*)$ [url.to.custom.mx.page] [L]
-- [ Drupal support list | http://lists.drupal.org/ ]