百度网盘传输设置:asp.net级下URL重写 如何主机名前加地址??
来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 06:27:54
例如 <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