Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 21, 2010 11:21 AM by Rovastar
Sep 20, 2010 10:57 PM|LINK
I have changed the web.config's on all my customer web sites to reflect the recommendations by MS. My error.html pages is triggered. However I notice if I simply access the site as follows: www.mysite.com/~/ it will
throw a Server Error, 404 and reveals physical paths and server name. How to protect against this?
Sep 21, 2010 04:09 AM|LINK
I think that's because that is being handled by IIS directly, and not by asp.net, similar to
Sep 21, 2010 11:21 AM|LINK
Yeah that is handled by IIS look in the custom errors in the GUI. There appears to be no issue with static IIS error handling just .net stuff.
You can change these pages in default path (for IIS7.x at least):