In the filesystem I have
/file.aspx /directory/default.aspx
I want to configure IIS so that it returns the appropriate file (add the aspx extension) or directory (default content page) as follows:
/file -> /file.aspx /directory -> /directory/default.aspx /directory/ -> /directory/default.aspx
I have configured the Wildcard application mapping set to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll. When the "Verify that file exists" is unchecked, the the file request works but not the directory request (returns 404). When the "Verify that file exists" is checked, the directory request works but not the file request.
How can I configure it so that both the file and directory requests will work?