supports 404 page and illegal request