Forums / Setup & design / Getting the site offline

Getting the site offline

Author Message

Tarjei Gilbrant

Thursday 07 October 2004 1:15:33 am

I need to get my site offline for a short periode (several times). Is there an easy way to do this?

Conor Murray

Thursday 07 October 2004 1:54:23 am

You could temporarily substitute your own index.php in place of the standard one in the root of your eZ site - the rewrite rules force all page accesses to go through this file. This would be useful for, say, database maintenance etc. Your own file could display a message informing visitors that the site is temporarily offline. You could even write a simple script to swap around your own index.php with the production eZ publish version.

Language is a virus - William S Burroughs

Paul Borgermans

Thursday 07 October 2004 2:25:00 am

Or an apache rewrite rule which directs any request to a static html page, that's what I do (which requires a restart of the apache daemon)

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans