Forum Discussion
Muthu_63814
Nimbostratus
Sep 22, 2015iRule for Redirect URI based on string
Hello ,
I want to redirect URI based on the URI string as mentioned below .
Can someone please help me to write the irule for below requirements
Not Transformed:
ORIGINAL URL: This wi...
Stanislas_Piro2
Cumulonimbus
Sep 22, 2015Hi,
try this local traffic policy (version 11.4.0 and above) instead of irule:
ltm policy Pol_eysso {
controls { forwarding }
requires { http }
rules {
DeepLinkKey {
actions {
0 {
http-uri
replace
path /eygsso/sso_login.aspx
}
}
conditions {
0 {
http-uri
path
values { /eysso/sso_login.aspx }
}
1 {
http-uri
query-parameter
name DeepLinkKey
values { - }
}
}
ordinal 1
}
}
strategy first-match
}
to install it, execute in tmsh load sys config merge from terminal and paste the code.
you can then enable it in virtual server.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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