开发者

IIS7 Request Mapping, File Extensions

I have a website that used to have .dsp file extensions for all pages. There are alot of other sites referencing mine that reference the pages like that, but my pages are all actually .aspx pages. In IIS5, I was able to conf开发者_JS百科igure this to work.

My problem is I've recently switched from IIS5 to IIS7, and I have no idea how to map these requests (.dsp) to the real file (.aspx) without the server telling me the file doesn't exist.


In the IIS go to Handler Mappings under you website/application/vdir and add a new managed handler.

Tell you extension (.dsp) and the Executable (in this case the same of asp.net which is %windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll for ASP.NET 2.0 64 bits).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜