0
I have a default webpage in my IIS 8 and I want it to redirect not found URLs to an asp.net application on the same server.
So I've enabled the custom errors and changed the 404 page to "/shorturl/Redirection.aspx". But if I do that, it gives me a 403 error: "The website declined to show this webpage".
Opening the page by hand works (except that it crashes, because it needs a parameter).
Any idea why it's not working if I redirect it?
Do you get the same message if you run this on the server? And does it work in debug mode within VS? – Dave – 2013-08-14T14:58:40.860
I can't add the tilde: "The specified URL is invalid. It must be a relative URL path that begins with "/".". I get the same message on the server and I couldn't check it in debug mode. – Feroc – 2013-08-14T15:07:55.200