Masking a redirection in IIS7
Masking a redirection in IIS7 - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Masking a redirection in IIS7 error on your web browser. Problem :
Solution :
We hope that this article has helped you resolve the redirects, iis7, masking error in your web browsers. Enjoy browsing the internet uninterrupted!
My tools:
- IIS7
- 1 x Windows 2008 Server
- IIS URL Rewrite Module 2 (installed)
My requirement:
- Mask the redirection of
www.bob.comtowww.abc.com/bob/index.html- the end user should not see thewww.abc.com - The user should then be able to browse the website as normal.
I have found references to installing AAR, however this seems to be more for load balancing etc.? Then others have said use a 3rd party tool etc.
For IIS7 you will indeed need AAR. There are 3rd party modules available that can do what you need as well such as Helicon Ape:
https://www.helicontech.com/ape/
Using AAR:
Link
You'll be reverse proxying requests for http://www.bob.com/ to http://www.example.com/bob/
In Apache, with the correct modules loaded, it can be done as:
RewriteCond %HTTP_HOST ^www.bob.com [NC]
RewriteRule (.*) http://www.example.com/bob$1 [P,L]
Have a look at the following article here. It appears to describe a very similar situation as to what you are trying to setup.
Comments
Post a Comment