# Displaying 404 or 500 with application layout

**URL:** <https://www.ruby-forum.com/t/displaying-404-or-500-with-application-layout/111124>\
**Category:** Rails\
**Created:** [August 2, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/displaying-404-or-500-with-application-layout/111124 "2007-08-02T21:09:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![freewolf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/90db22/32.png) [@freewolf](https://www.ruby-forum.com/u/freewolf)\
**Post date:** [August 2, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/displaying-404-or-500-with-application-layout/111124/1 "2007-08-02T21:09:50Z")

</div>

Greetings all,

I want to display the 500 or 400 error with the application layout in a  
.rhtml file like the rest of the site.

How would I go about making this happen??

Blessed Be

Phillip
