21278 Posts in 5728 Topics by 2599 members
| Go to End | ||
| Author | Topic: | 2031 Views |
-
Re: Down for maintence page in CMS

11 June 2009 at 12:20am
Thats an idea, you can create a 503 error page in the CMS, its in the dropdown list.
You wouldn't be able to put th custom PHP in the generated doc, but I think you could put something like:
Redirect 503 /e/503 "assets/error-503.html"
I will give that a try and post back. (Knowing my luck, it wont work
)
Mo
-
Re: Down for maintence page in CMS

11 June 2009 at 12:50am
Yes, but the problem is if you want to make major updates to your SilverStripe installation you probably don't want it to handle the 503 error page. That's why I prefer to have it outside of the CMS.
-
Re: Down for maintence page in CMS

11 June 2009 at 12:52am
But silverstripe creates a non templated html page in the assets folder. This is not managed by the cms, so you can redirect your webserver to that page and it will bypass silverstripe.
Mo
-
Re: Down for maintence page in CMS

11 June 2009 at 1:10am
True, good catch. Just verify the HTTP Code.
| 2031 Views | ||
| Go to Top |

