[support] Testing custom maintenance page without putting the site off-line (D6)

steve stever at up-south.com
Tue Mar 6 04:51:49 UTC 2012


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 at 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]



More information about the support mailing list