在同一个IIS Server 7.5中将ASP应用程序重定向到ASP.NET应用程序 [英] Redirecting an ASP application to an ASP.NET application in the same IIS Server 7.5

查看:114
本文介绍了在同一个IIS Server 7.5中将ASP应用程序重定向到ASP.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将ASP应用程序迁移到ASP.NET应用程序.我需要将ASP应用程序重定向到迁移的ASP.NET版本.

假设ASP站点是"http://example1_asp.com",而迁移的ASP.NET站点是"http://example_aspdotnet.com"

当用户键入asp URL,即" http://example1_asp.com "时,应将用户重定向到ASP.NET URL" http://example_aspdotnet.com "



我需要在IIS中进行哪些更改,以便可以将ASP应用程序重定向到ASP.net应用程序,并且还可以停止ASP应用程序.


提前致谢 !!! :)

Hi,

I migrated an ASP application to an ASP.NET application. I need to redirect the ASP application to the migrated ASP.NET version.

Suppose the ASP site is "http://example1_asp.com" and the migrated ASP.NET site is "http://example_aspdotnet.com"

When a user types the asp URL, i.e. "http://example1_asp.com", the user should be redirected to the ASP.NET URL "http://example_aspdotnet.com"



What change do I need to make in the IIS so that I can redirect the ASP application to the ASP.net application and also the ASP application can be stopped.


Thanks in Advance !!! :)

推荐答案

1.打开IIS管理器
2.展开托管站点的服务器
3.单击要重定向"到
的ASP.NET网站. 4.单击右侧的绑定..."
5.点击添加..."
6.在http保留Type,将IP Address保留为All Assigned,将Port保留为80
7.将主机名"更改为旧的ASP网站地址
8.单击确定

那应该做.基本上,您在这里所做的就是使新站点接受新站点名称和旧站点名称.完成此操作后,您可以安全地关闭ASP站点.实际上,您甚至可能必须先停止ASP站点.
1. Open IIS Manager
2. Expand the server hosting the site
3. Click on the ASP.NET site you want to ''redirect'' to
4. Click on ''Bindings...'' on the right
5. Click ''Add...''
6. Leave Type at http, IP Address to All Assigned, Port to 80
7. Change ''Host name'' to the old ASP web address
8. Click Ok

That should do it. Basically what you are doing here is making the new site accept both the new and old site names. You can safely turn off the ASP site once this is done. You actually may even have to stop the ASP site before you can do this.


这篇关于在同一个IIS Server 7.5中将ASP应用程序重定向到ASP.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆