custom error pages do work now

Turns out that you have to define custom errorpages in two ways. Once
for aspx pages and once for iis for static stuff. A very basic 404 page
is now displayed when mistyping a url.