Allow error page to point to a local file.
Allow cors to be configured.