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...
nitass
Employee
Apr 28, 2014i think it may be useful if you run tcpdump on bigip and see how request and response look like.
if you are running 11.2.0 or later, you can use p interface modifier to capture both clientside and serverside packet.
tcpdump -nni 0.0:nnnp -s0 -w /var/tmp/output.pcap host x.x.x.x -v
x.x.x.x is client ip
sol13637: Capturing internal TMM information with tcpdump
http://support.f5.com/kb/en-us/solutions/public/13000/600/sol13637.html- Shlairshe_84486Apr 28, 2014
Nimbostratus
Patrick, The following irule worked, I included the header replace statement, just before the pool associated with the server servicing both sites and it worked. when HTTP_REQUEST { if { ([HTTP::uri] starts_with "/arcgis") } { HTTP::header replace Host "gis.dev.geo.census.gov" pool arcgis_tigerweb.dev.geo_80_pool } Thanks for the leads, I would not have thought to use a header replacement in this case, my thoughts were far from that.
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