Forum Discussion
Phil_53695
Jul 08, 2011Nimbostratus
irule to redirect old https URL to new one.
I need to use a redirect to send any traffic that might come into an old https url to the new https url.
I believe in order to do that, the cert might need to terminate on the ltm vip.
- hoolioCirrostratusDo the two FQDNs resolve to the same IP address? If so, do you have a cert which is valid for both hostnames? If you do it would be fairly simple to redirect any request that isn't to the new FQDN to the new FQDN.
when HTTP_REQUEST { if {[string tolower [HTTP::host]] ne "new.example.com"}{ HTTP::respond 301 Location "http://new.example.com[HTTP::uri]" } }
- Colin_Walker_12Historic F5 AccountAnd yes, you'll need to decrypt on the LTM. ;)
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