# 404.html and 500.html not working

**URL:** <https://www.ruby-forum.com/t/404-html-and-500-html-not-working/121051>\
**Category:** Rails\
**Created:** [November 23, 2007, 9:02am UTC](https://www.ruby-forum.com/t/404-html-and-500-html-not-working/121051 "2007-11-23T09:02:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vyvyvy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c37758/32.png) [@vyvyvy](https://www.ruby-forum.com/u/vyvyvy)\
**Post date:** [November 23, 2007, 9:02am UTC](https://www.ruby-forum.com/t/404-html-and-500-html-not-working/121051/1 "2007-11-23T09:02:23Z")

</div>

After updating to Rails 1.2.5, a syntax error in routes.rb no longer  
redirects to 500.html. It used to work in 1.2.3. Any clues? Thanks.
