我的亿万面包台版全集:asp.net级下URL重写 如何主机名前加地址??
来源:百度文库 编辑:高校问答 时间:2024/10/05 08:18:55
例如 <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