开发者

IIS Redirect with Arguments

I know you can do page redirects with IIS so if someone hits example.com开发者_如何学JAVA it sends the user to www.example.com but is there a way to do something to make it possible to redirect with the values from example.com/index.aspx?p=1 to www.example.com/index.aspx?p=1


If you are using IIS 7 or above you can use URL Rewrite ( http://www.iis.net/download/URLRewrite ) for that very easily, it includes a template that will actually do the "canonical host name" for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜