1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some guidance on URI to setHttpResponseCode

Discussion in 'XenForo Development Discussions' started by Floren, Apr 26, 2013.

  1. Floren

    Floren Well-Known Member

    Hi,

    This is what I try to acomplish:
    /community/index.php?503 will push programatically a response to browser as
    $this->_response->setHttpResponseCode(503);

    XenForo supports 401, 403, 404 and 503 error messages. My goal is to obtain a page displaying the related error message when I type into browser the http://xenforo.com/community/index.php?503 link for example. 404 is easy, it does it by default. :)

    Thank you for your help, let me know what should I start with.
     

Share This Page