带有get参数的iis 7相对重定向
我在iis7中有一个http重定向来向另一个域发送请求。如果网址类似于
http://www.example.com/news/
,那就没关系,但是如果我尝试http://www.example.com/news/?id=3
然后从字符串中删除参数,它会重定向到相同的http://www.example.com/news/
。
如何使用iis7保存查询字符串中的参数?
web.config中:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpRedirect enabled="true" destination="http://www.example.com" exactDestination="false" httpResponseStatus="Permanent" />
</system.webServer>
</configuration>
没有找到相关结果
已邀请:
1 个回复
习让休堂溯