Forum Discussion
Https URL masking and redirection
Here is the task at hand.
User is hitting >>>> https://abc.com <<<< VIP X.X.X.X
Now in browser, above URL must REDIRECT to BACKGROUND Url; and he should see the FOREGROUND URL only.
In background >>>> https://XYZ.com/Maintenance/html/UnderMaintenance.html <<<< VIP Y.Y.Y.Y
In foreground >>>>> https:/abc.com/Maintenance/html/UnderMaintenance.html
Kindly help making a simple Irule for this.
Cheers!!! Abhishek
3 Replies
- What_Lies_Bene1
Cirrostratus
You'll find a multitude of examples of how this can be done if you do a search here on DC for 'URL mask' or 'URL masking' - Abhishek9129_14
Nimbostratus
@ W L B Yes im searching already, but its a combination of REDIRECTION AND MASKING both together, involving two VIPs, so not sure exactly what to follow....but im trying.. - Cory_50405
Noctilucent
If you want to mask the URL change to the user, then you shouldn't issue any kind of HTTP redirect. That will change what the user sees in their browser. WLB is correct, just use a URL masking type iRule. Kevin just posted an example here:
https://devcentral.f5.com/questions/how-do-i-create-an-irule-that-rewrites-a-request-to-be-translated-to-an-ipaddress-and-portanswer95772
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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