asp.net custom error page and file without extension
问题 How can i get IIS 7 to return my custom error pages for file without extension? I got it working for file with extension, but when the extension is not specified, i get the generic page. 回答1: Try adding a wildcard application extension that maps to the aspnet_isapi.dll. Without that mapping, requests will never hit the aspnet dll for processing and the default IIS 404 page will be returned. 回答2: Well if you are dealing with such a situation you should handle these no extension files and then