12 Jul 2012
13 Jul 2011
Link to this post
I've restricted view permissions to a few roles only for a particular page. When I load the page in the browser with the default url as an anonymous user it returns a 403 unauthorized error as expected. If I access the page through the additional url I created for the page, whether it does a redirect or rewrite, I'm getting a 404 error.
Additionally, I'm handling 404 and 500 errors in the custom errors section of the web.config. 500 errors are being caught and redirected the page identified set in this section, but all 404's are displaying the IIS7 error page.