Forum Discussion
KJ_50941
Jun 26, 2014Nimbostratus
irule redirect or rewrite
Hi
I need an irule to redirect from shortname: https://example to https://example.com/test
I used below irule , however shortname doesn't work, but if I type fully qualified domain works ju...
Cory_50405
Noctilucent
Try this:
when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "example" } { HTTP::redirect "https://example.com/test" } }
KJ_50941
Jun 26, 2014Nimbostratus
we have two hosts behind 443 VIP with SSL termination , requirement is if user type https://example must to resolved to FQN--> https://example.com/test. if I type https://example.com it will redirect fine to /test. is just short name ( example) doesn't work. sorry for long explanation.
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