# Wrong URL/Application crashing Notification

**URL:** <https://www.ruby-forum.com/t/wrong-url-application-crashing-notification/175061>\
**Category:** Rails\
**Created:** [September 7, 2009, 7:42am UTC](https://www.ruby-forum.com/t/wrong-url-application-crashing-notification/175061 "2009-09-07T07:42:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![salil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@salil](https://www.ruby-forum.com/u/salil)\
**Post date:** [September 7, 2009, 7:42am UTC](https://www.ruby-forum.com/t/wrong-url-application-crashing-notification/175061/1 "2009-09-07T07:42:50Z")

</div>

Hi All,

I want to make a default page if application is crashes i want to know  
what is the best way to do that. Also when user make some url changes  
application shouldn’t get crashed.for ex. if user type url :-  
[http://localhost:3000/user/sho/1](http://localhost:3000/user/sho/1)  
[http://localhost:3000/user/show/1](http://localhost:3000/user/show/1) it should notify user that he/she type  
the wrong url intead of getting crashed.  
also i want to render user to a html page for the 404, 500, and other  
this type of the crash.

Thanks & Regards,

Salil G.

---

<div class="post-metadata">

**Author:** ![salil](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c89c15/32.png) [@salil](https://www.ruby-forum.com/u/salil)\
**Post date:** [September 7, 2009, 8:06am UTC](https://www.ruby-forum.com/t/wrong-url-application-crashing-notification/175061/2 "2009-09-07T08:06:59Z")

</div>

Exception is generated only when you are running a rails app in  
development  
mode. In production mode it will render 404.html, 500.html etc (present  
in  
public directory). You can customize those pages the way you want.

Thanks,  
Abhinav

–  
à¤…à¤­à¤¿à¤¨à¤µ  
[http://twitter.com/abhinav](http://twitter.com/abhinav)

On Mon, Sep 7, 2009 at 11:12 AM, Salil G. \<
