连云港花果山介绍作文:asp.net级下URL重写 如何主机名前加地址??
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/13 06:56:27
例如 <RewriterRule>
<LookFor><--怎么写--></LookFor>
<SendTo>~/re.aspx?id=$1</SendTo>
</RewriterRule>
我要把http://localhost/ResInfo/re.aspx?id=2
改为http://2.localhost/ResInfo.aspx
<LookFor><--怎么写--></LookFor>
<SendTo>~/re.aspx?id=$1</SendTo>
</RewriterRule>
我要把http://localhost/ResInfo/re.aspx?id=2
改为http://2.localhost/ResInfo.aspx