Forum Discussion
Redirecting to a page from a shortname
We are converting from Apache to F5 and the current user links all point to:
When they go there, it redirects them to
https://xxx.yyy.zzz/SSOLogin
and bring them right into the application. With F5, I have setup a Local Traffic | Policy to perform a redirect based on the JSESSIONID and matching the HTTP URI to Replace the value with /SSOLogin and that seems to bring me to the page but not log me in. If I click on the browser page and select the new https://xxx.yyy.zzz/SSOLogin that is shows me, I get right into the application.
I would like to have anyone using the current FQDN link to automatically login like they do with the older Apache LB. I can get them to the page but I feel like I am either using the wrong item in F5 to get there or I am just >< close to just getting them in.
Hi HerrDrachen ,
Try this iRule , I have tested it on my Lab environment and it works well .when HTTP_REQUEST { if { [HTTP::uri] equals "/"} { HTTP::redirect "https://[HTTP::host]/SSOLogin" } }
> I Could Login successfully after using it.
> For LTM Policy you Can do like this , it works with me and successfully authenticated as well :Test both workarounds , hope it help
Thanks
Mohamed Kansoh
Hi HerrDrachen ,
Try this iRule , I have tested it on my Lab environment and it works well .when HTTP_REQUEST { if { [HTTP::uri] equals "/"} { HTTP::redirect "https://[HTTP::host]/SSOLogin" } }
> I Could Login successfully after using it.
> For LTM Policy you Can do like this , it works with me and successfully authenticated as well :Test both workarounds , hope it help
Thanks
Mohamed Kansoh- HerrDrachenAltocumulus
Perfect - this was the missing link that we needed!
HerrDrachen that is a good news 😄
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