Forum Discussion
Shlairshe_84486
Nimbostratus
Apr 25, 2014url/uri to url/uri with potential header rewrite involved
Ok, I think I am really close but I am finally admitting I am confused.
My clients want to be able to type the url http://bearcub.dev.leo.world.com/lookout and be redirected to http://lion.dev.leo.w...
Shlairshe_84486
Nimbostratus
Apr 28, 2014Guys, the following worked for what I was looking for. Created a pool with the server servicing the two sites, and took your advice on the header replace statement.
when HTTP_REQUEST { if { ([HTTP::uri] starts_with "/lookout") } { HTTP::header replace Host "lion.dev.leo.world.com" pool bearcub.dev.leo_pool }
Thanks for sticking with it, your input did truely lead me to this resolution.
Regards,
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