Forum Discussion
Shlairshe_84486
Nimbostratus
Apr 25, 2014url redirect with rewrite capability
This is what should happen, when a user types http://bearcub.dev.leo.world.com/lookout the resulting website should be http://lion.dev.leo.world.com/lookout. but the client wants the resulting ur...
Apr 26, 2014
Some questions:
- Is lion.dev.leo.world.com hosted on the same servers as bearcub.dev.leo.world.com?
- I assume you separate requests by host header?
- Can you see anything in the IIS logs?
Try this one and see if you see anything in the /var/log/ltm log (replace the pool with the pool for bearcub.dev.leo.world.com).
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
set uri [string tolower [HTTP::uri]]
if { $host equals "lion.dev.leo.world.com" and $uri starts_with "/lookout" } {
HTTP::header replace Host "bearcub.dev.leo.world.com"
pool bearcub_pool
log local0. "Sending to the bearcub pool"
}
}
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