带有查询字符串的IIS重定向
我有一个网址: 我想在IIS上将其重定向到: 1.从Microsoft下载 2.在服务器上安装。 3.将代码内部system.webServer部分放在Web.Config文件中。 4.节约。 5.享受现在带有查询字符串的IIS重定向,iis,url-redirection,Iis,Url Redirection,我有一个网址: 我想在IIS上将其重定向到: 1.从Microsoft下载 2.在服务器上安装。 3.将代码内部system.webServer部分放在Web.Config文件中。 4.节约。 5.享受现在 <rewrite> <rules> <rule name="PostRedirect1"> <match url="^Post/([a-zA-Z0-9]+)"
<rewrite>
<rules>
<rule name="PostRedirect1">
<match url="^Post/([a-zA-Z0-9]+)" />
<action type="Rewrite" url="post.aspx?post={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>