07-Nov-2022 10:28
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.
Solved! Go to Solution.
07-Nov-2022 14:30
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
07-Nov-2022 14:30
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
08-Nov-2022 08:46
Perfect - this was the missing link that we needed!
08-Nov-2022 08:50
@HerrDrachen that is a good news 😄