Forum Discussion
Kevhed
Nimbostratus
Jan 19, 2016Rewrite host domain URL
I've been looking thru many posts about rewriting and reverse proxy and cannot find what I'm looking for. I attempted to use a Rewrite Profile but that did not let me change the host/domain portion ...
Kevhed
Nimbostratus
Jan 20, 2016Thanks for all the replies...what a great forum. I ended up using this simple iRule and it worked perfectly.
when HTTP_REQUEST { if { [HTTP::header host] eq "images.mydomain-A.com" } { HTTP::header replace Host "images.mydomain-B.com"
}
}
- Kai_WilkeJan 20, 2016
MVP
Glad to hear its working out for you... ;-) Cheers, Kai
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