开发者

IIS 7 URL Redirection

Well, having a small problem.

A 3rd party is connecting to our API, however they are using the wrong URL and the URL no longer exists on our system. They said the had to revert to some backup code.

Problem is that they have no developer that knows how to fix the code to point to the right URL.

So, my question is how can I take a nonexistant URL in IIS 7 and have redirect to a the correct URL?

URL they are trying to use is (which does not exist): http://www.mysite.com/page1212.aspx

The URL they need to hit is: http://www.mysite.com/pa开发者_开发技巧ge1919.aspx

How can I cause the redirection to happen server side using IIS 7.0 only for this? I want nothing to change functionally with the website other than this simple redirection.


Check out IIS URL Rewriting.


Here's also a very detailed tutorial on how to use redirecting on IIS7. Scroll a bit down and you'll find what you're looking for.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜