Forum: Ruby on Rails Cant test 404 pages in webrick

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jigar G. (Guest)
on 2007-06-24 22:42
I tried running webrick in production mode with -e production option. I
changed development database name so as to make sure webrick was running
in production mode.

Now I wanted to test my new 404.html page so I typed an invalid URL, I
still get some routing error instead of my 404.html page.

Why is this happening with webrick in production. I haven't even changed
any of the environment files.

please advise,
LemmingJoel (Guest)
on 2007-06-27 05:33
(Received via mailing list)
I'm having the same problem, but only when I access the server from If I access it from any other address, I get the desired
Application Error page. This is obviously the intended behaviour. I
hope that helps Jigar.

However, I would like to get the Application Error page even when
accessing from local. Anyone have any ideas?


On Jun 25, 4:42 am, Jigar G. <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.