IIS重写异常

IIS重写异常,iis,Iis,这是在IIS中的: <rule stopProcessing="true" name="Rewrite from ww to /en-us/education/default.aspx"> <match url="ww/(.*)aspx"/> <action type="Redirect" url="/en-us/education/default.aspx"/> </rule> 这是我添加的内容,但它不起作用: <rule sto

这是在IIS中的:

<rule stopProcessing="true" name="Rewrite from ww to /en-us/education/default.aspx">
  <match url="ww/(.*)aspx"/>
  <action type="Redirect" url="/en-us/education/default.aspx"/>
</rule>
这是我添加的内容,但它不起作用:

<rule stopProcessing="true" name="Rewrite from ww to /en-us/education/default.aspx">
  <match url="ww/(.*)aspx"/>
  <conditions>
      <add input="{REQUEST_URI}" negate="true" pattern="^/ww/students/Pages/hed\.aspx$" ignoreCase="true" /> 
  </conditions>
  <action type="Redirect" url="/en-us/education/default.aspx"/>
</rule>
用例:

我们正在尝试将用户重定向到一组已更新的新页面,只有一个旧的资源页面尚未更新


我错过了什么?

没有错误,规则正确且有效。你的意思是它不工作?@VMV当一个学生在否定条件下点击其中一个页面时,他仍然被重定向。