Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iis 7上的.Net 1.1 url重写_Url_Iis 7_Rewrite_Asp.net 1.1 - Fatal编程技术网

iis 7上的.Net 1.1 url重写

iis 7上的.Net 1.1 url重写,url,iis-7,rewrite,asp.net-1.1,Url,Iis 7,Rewrite,Asp.net 1.1,我们使用.NET1.1编写了旧的aspx应用程序,并在IIS 6.0上使用url重写(通配符) 我需要升级到IIS 7 应用程序现在正在IIS 7.0上运行,但没有url重写 我试过这个例子: 但是这个例子是针对.NET 2.0的,这些步骤会随着ASP.NET 1.1中不允许的元素而更改web.config 有没有办法在不更改源代码的情况下为.NET 1.1应用程序配置IIS 7.0 我假定您已经在服务器上安装了.NET 1.1,并且您的应用程序正在按照本文配置为使用.NET Framewor

我们使用.NET1.1编写了旧的aspx应用程序,并在IIS 6.0上使用url重写(通配符) 我需要升级到IIS 7

应用程序现在正在IIS 7.0上运行,但没有url重写

我试过这个例子:

但是这个例子是针对.NET 2.0的,这些步骤会随着ASP.NET 1.1中不允许的元素而更改
web.config


有没有办法在不更改源代码的情况下为.NET 1.1应用程序配置IIS 7.0

我假定您已经在服务器上安装了.NET 1.1,并且您的应用程序正在按照本文配置为使用.NET Framework 1.1的应用程序池中运行:

如果需要,请尝试将以下内容添加到
web.config
文件中:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <system.webServer>
  <handlers>
   <add name="ASP.NET-ISAPI-1.1-Wildcard" 
        path="*" verb="*" modules="IsapiModule" 
        scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" 
        resourceType="Unspecified" requireAccess="None" 
        preCondition="classicMode,runtimeVersionv1.1,bitness32" />
        </handlers>
 </system.webServer>
</configuration>

既然您在帖子中链接到了我的博客,我将允许自己链接到该帖子的更新版本(在原始帖子中也链接到):

您应该能够使用“使用HttpModule重写”方法将URL重写添加到应用程序中,而无需修改现有代码