Exposing the 'require' directive and added error pages - FORBIDDEN and UNAUTHORIZED