Cant test 404 pages in webrick


#1

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,
thanks


#2

I’m having the same problem, but only when I access the server from
127.0.0.1. 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?

Joel.

On Jun 25, 4:42 am, Jigar G. removed_email_address@domain.invalid