Changed the default behavior of error pages.