Re: simple easy way to turn to maintenance mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just want to add one more question -

Daniel's idea looks very good. but what if we also want to verify the
change by logging into the site (after application level change get
complete) and then open it up for all users.. is there any way to
achieve this?

On Thu, May 31, 2012 at 1:59 PM, Daniel Ruggeri <DRuggeri@xxxxxxxxxxx> wrote:
> On 5/27/2012 6:42 AM, Miguel Gonzalez wrote:
>>    The version of Plesk we have doesn't support this so maybe there is any easy way to do this. I've thought about setting up a different instance of the web server or configure a different web server but maybe I'm missing an even simplier way to do this. In fact we only want to send a simple html response to the user.
>
> I'm a fan of using:
> <VirtualHost *:80>
>   <IfDefine MAINTENANCE>
>      RewriteRule .* /path/to/maintenance.html [L]
>   </IfDefine>
>
>   #Existing directives
> </VirtualHost>
>
>
> ... then, you only need to restart the server with -DMAINTENANCE to
> enable and restart without the define to disable maintenance mode.
>
> --
> Daniel Ruggeri
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux