Rewrite the internal web server's handling