新惊天动地欲火怎么用:asp.net级下URL重写 如何主机名前加地址??
来源:百度文库 编辑:中科新闻网 时间:2024/05/04 16:52:30
例如 <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