Sorry, urlMappings is an ASP.NET 2.0 feature. However, this could be
implemented in ASP.NET using HTTP modules. A sample is here:
http://pietschsoft.com/blog/post.aspx?postid=717
Muhammad said:
Try this, place between <system.web></system.web>
<system.web>
<urlMappings enabled="true">
<clear />
<add url="~/INSTALL.MSI" mappedUrl="~/INSTALL.exe" />
</urlMappings>
</system.web>
Tracked down the error:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized configuration section 'urlMappings'
Source Error:
Line 5: <add verb="GET,HEAD" path="*.config"
type="System.Web.StaticFileHandler" />
Line 6: </httpHandlers>
Line 7: <urlMappings enabled="true">
Line 8: <add url="~/installer.msi"
mappedUrl="~/installer.exe"/>
Line 9: </urlMappings>
Source File: E:\web\app\htdocs\web.config Line: 7
Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300