update error log message rule, update file not found 404 page to use template