31-Jan-2022
09:51
- last edited on
31-Jan-2022
13:50
by
JRahm
Hi Experts !,
Need your help to understand the below irule ,
This irule is applied to 443 VIP .Please help me to understand the impact of the below irule ,
when HTTP_REQUEST {
if { [HTTP::uri] contains "redirect_uri=https://test-ck2-ind.example.com" } {
HTTP::uri [string map {"redirect_uri=https://test-ck2-ind.example.com/" "redirect_uri=http://test-ck2-ind.example.com/"} [HTTP::uri]]
}
}
31-Jan-2022 13:53
Hi @Sarovani, this iRule looks at the URI of a request, and if it contains that string, it will then rewrite the URI via the string map command to the non-ssl request.
01-Feb-2022 11:09
@JRahm thanks a lot for your response ....
But why do we actually need this type of irule . What are we trying to achive in the above irule ? In which scenario we actually need this irule ?
01-Feb-2022 13:14
I can't speak to your business requirements for that, but I will say that it's rare to redirect a secured URL to an insecure one. It could be that was created for a specific use case to force a login or interrogate differently, but without greater context from your end I couldn't say.
03-Feb-2022 01:18 - edited 03-Feb-2022 20:26
Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution.