{"issue":{"user":{"id":241565,"login":"aranw","url":"https://api.github.com/users/aranw","avatar_url":"https://secure.gravatar.com/avatar/5497b96ecaebaf21d85670b332a4da78?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5497b96ecaebaf21d85670b332a4da78"},"milestone":null,"created_at":"2011-12-13T10:07:54Z","title":"Router based offline redirect ","state":"open","updated_at":"2011-12-21T21:34:13Z","labels":[{"name":"Awaiting feedback","url":"https://api.github.com/repos/fuel/core/labels/Awaiting+feedback","color":"DDDDDD"},{"name":"Feature","url":"https://api.github.com/repos/fuel/core/labels/Feature","color":"444444"},{"name":"Pending","url":"https://api.github.com/repos/fuel/core/labels/Pending","color":"d7e102"}],"id":2534845,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/fuel/core/issues/724","body":"I was wanting too put a router based offline redirect into the route.php config but I don't believe its supported.\r\n\r\nHappy to help add it but could do with some advise on where to begin on adding such a feature.\r\n\r\nI was thinking it could be similar too `_404_` or `_root_`  being called `_offline_`. \r\n\r\nWas also thinking of there being a config parameter to indicate if a site is offline? \r\n\r\nWhat do others think of such a feature? ","number":724,"url":"https://api.github.com/repos/fuel/core/issues/724","comments":3,"assignee":null},"comment":{"user":{"id":456954,"login":"WanWizard","url":"https://api.github.com/users/WanWizard","avatar_url":"https://secure.gravatar.com/avatar/31684bd74638a9f472a957dbcfdc1c95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"31684bd74638a9f472a957dbcfdc1c95"},"created_at":"2011-12-21T21:34:13Z","updated_at":"2011-12-21T21:34:13Z","id":3239933,"body":"I agree with Jelmer that if you want to update a live site, your users should never be allowed access to any part of that live site. Even if you're only copying files, there is a timeframe in which your site is not consistent. And that gets worse if you have to do migrations.\r\n\r\nI use a simple rewrite for this purpose:\r\n\r\n    <IfModule mod_rewrite.c>\r\n        RewriteEngine On\r\n        RewriteBase /\r\n        RewriteRule . /offline.php [L]\r\n    </IfModule>\r\n","url":"https://api.github.com/repos/fuel/core/issues/comments/3239933"},"action":"created"}