Forum Discussion
ssl re-direct
Hi
Ive looked through a few irule examples but cant find exactly what I need....basically I want to do a https redirect on a VS so..
user goes to https://site.name.com/ but I want it to re-direct of to https://site.name.com/abc - is this easily achieved?
Thanks
- Kevin_StewartEmployee
when HTTP_REQUEST { if { [HTTP::uri] equals "/" } { HTTP::redirect "https://[HTTP::host]/abc" } }
You must of course also have a client SSL profile applied to the VIP to be able to process the layer 7 HTTP traffic.
- cymru81Altocumulus
Thanks for that , ill give it a go! I have a client ssl profile setup which contains the cert etc. do I need to set anything else in this profile?
- cymru81Altocumulus
works perfectly!
thanks you!
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