I am being produced mode with Passenger 2.2.5 and Apache and want to eliminate the friendly error messages. Ideally I'd just want to see a 404 contrary goes completely wrong.

I understand Passenger 3. provides the PassengerFriendlyError off option, but afaik, 2.2.5 doesn't.

The only method to do this by 50 percent.2.5 would be to customize the Phusion Passenger error templates. Not one other way.