• 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

Floren

Well-known member
#1
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.