Forum Discussion
RoyDShaw_195277
Nimbostratus
Jun 01, 2015URI and Header Host file replace
I am having a hard time trying to figure out Irule to do the following.
If a user hits https://whateverwebsite.com/static/test.html or /static/test/test.html. etch
I want that to get redirected ...
RoyDShaw_195277
Nimbostratus
Jun 01, 2015I want the URI to stay the same, just want the hostname to change. But I only want the hostname to change if that URI is present.
So if a user goes to oldsite.com\static\whatever
F5 responds with
newsite.com\static\whaterver
- nitassJun 01, 2015
Employee
isn't it what HTTP::header replace in your irule does? HTTP::header replace Host "whaterver.com"
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