I am currently running passenger 2.2.12 in production. When an
ActiveRecord::RecordNotFound exception is raised, rails is not
displaying the 404 page. This is a bit awkward because when I tried in
my local machine with rails production environment parameter being
passed, a 404 page will be displayed when an
ActiveRecord::RecordNotFound exception is raised. I also tried the
same test case with thin and it works. Is there anything that I need
to configure in passenger to display the 404 page from the public
folder?
Thank you so much for the assistance.
Kind regards,
Joshua
Works fine for me on both Mongrel and Phusion Passenger. What do you
see instead of the 404 page?
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Rails always displays an exception page if it detects that the request
is coming from localhost.
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl