IIS重写异常

时间:2014-09-25 18:21:05

标签: 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 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>

用例:

我们正在尝试将用户重定向到已更新的新网页集,但尚未更新的旧资源页除外。

我错过了什么?

0 个答案:

没有答案
相关问题