Forum Discussion
joelvs_45274
Nimbostratus
Sep 14, 2007Redirect HTTP traffic without modifying url
Hello,
I am repeatedly getting requests from my developers to have blah.domain.com display a page that is at www.domain.com/uri without changing the original url. They want the original url...
Kirk_Bauer_1018
Altostratus
Sep 14, 2007The only downside to Joe's suggestions are redirects. For example, let's say that the user types in blah.domain.com/support and the Host header is changed so the web server sees www.domain.com/support. Let's assume support is a directory. The web server will now redirect the browser to http://www.domain.com/support/. So you also need to modify the URI in the redirects so that the client sees http://blah.domain.com/support/.
I believe everything you need to do can be quickly accomplished with my ProxyPass iRule (http://devcentral.f5.com/wiki/default.aspx/iRules/ProxyPass.html). The rule itself is fairly complex but you should not need to modify it. Instead just create the data group as described in the instructions and the rule will take care of the rest. If the rule doesn't do what you want let me know and I'll review your configuration, etc.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
