Category «IIS 7.x»

Remove HTML or ASPX Extension in IIS

“In a hosted IIS environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages: index.html (or .aspx) –> domain.com gallery.html –> domain.com/gallery videos.html –> domain.com/videos etc… “Option 1 – URL Rewrite Use the following code in you web.config file using the IIS7 URL Rewrite Module. For …

Using Custom Error Pages in SharePoint 2010

Unless you love the default SharePoint 2010 error pages for 404 (not found) and 401 (access denied), it is usually a good idea to change them. The steps are a bit different than a standard ASP.net application. 1) Browse to C:\inetpub\custerr\ 2) You should now see a list of localization folders like en-US or fr-FR. …