Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Down for maintence page in CMS

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2571 Views
  • Mo
    Avatar
    Community Member
    505 Posts

    Re: Down for maintence page in CMS Link to this post

    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

  • Radon
    Avatar
    Community Member
    11 Posts

    Re: Down for maintence page in CMS Link to this post

    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.

  • Mo
    Avatar
    Community Member
    505 Posts

    Re: Down for maintence page in CMS Link to this post

    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

  • Radon
    Avatar
    Community Member
    11 Posts

    Re: Down for maintence page in CMS Link to this post

    True, good catch. Just verify the HTTP Code.

    2571 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.