开发者

IIS Redirect with Arguments

开发者 https://www.devze.com 2023-02-12 04:19 出处:网络
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 t

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

精彩评论

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