0
我试图重定向一个网址的形式中IIS目录
http://localhost:8065/Documents/anything.pdf
我想这个去到不同的站点(使用相同的文件名7 URL重写重定向文件,但我甚至无法得到它去其他网站)。这是我的脚本:
<rewrite>
<rules>
<rule name="Archibald" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^/documents/.+\.(?:pdf)$" />
<action type="Redirect" url="http:\\www.dorkingsos.org.uk" />
<conditions>
</conditions>
</rule>
</rules>
</rewrite>
它为什么不起作用?