Forum Discussion
HTTPS redirect not changing the browsers URL
Hi All
I have a simple iRule to redirect traffic going from one domain to a new domain as per below;
when HTTP_REQUEST { if { [string tolower [HTTP::host]] contains "old.abc.com" } { HTTP::redirect "https://new.xyz.com/" } }
The rule works in that traffic is being directed to the new domain, however, the browser URL still shows the old URL and hence there is a certificate error. And yes, I have loaded the old.abc.com certificate on the f5. The certifcate being presented is for new.xyz.com.
How, can I get the redirect to display the new URI in the client browser?
Thank you in advance. rabv
3 Replies
- Samir_Jha_52506
Noctilucent
It will solve problem.
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "old.abc.com" } { HTTP::respond 301 Location "https://new.xyz.com/" } } - RABV_191170
Nimbostratus
- nitass
Employee
the browser still has https://old.abc.com/ as the URL.
you may try http analyzer tool to check where the wrong is.
HttpFox
https://addons.mozilla.org/en-Us/firefox/addon/httpfox/
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