repair static server with 404page