added 404/403 management for cgi routing