Forum Discussion
URL redirection not working after upgrade
Hello,
I upgrade the F5 cluster to 13.1.0.8 and after that one of our service stopped responding which is redirecting to /Citrix/InternalWeb after successful user authentication. But for some reaosn, this is not working.
In /var/log/ltm, i see numerous messages like
03:47 **** err tmm1[19610]: 01220001:3: TCL error: //irule_apm_citrix_test_v4 - ERR_ARG (line 1) invoked from within "HTTP::uri" Sep 9 11:03:50 *** info tmm3[19610]: Rule //irule_apm_citrix_test_v4 : Redirecting to /Citrix/InternalWeb/
Please advise how this can be fixed.
Regards Sheetal
- Faruk_AYDIN
Nimbostratus
copy-paste
here.irule_apm_citrix_test_v4
- Sheetal_43349
Nimbostratus
when CLIENT_ACCEPTED { ACCESS::restrict_irule_events disable set citrix_logout 0 } when ACCESS_ACL_ALLOWED { set type [ACCESS::session data get session.client.type] if { !($type starts_with "citrix") } { if { [HTTP::uri] == "/" } { log local0. "Redirecting to /Citrix/InternalWeb/" ACCESS::respond 302 Location "https://[HTTP::host]/Citrix/InternalWeb/" } }
if {[HTTP::uri] contains "Logoff" } { after 2000 { ACCESS::session remove} set citrix_logout 1 set http_host [HTTP::host] } } when HTTP_RESPONSE { if { $citrix_logout eq 1 } { HTTP::redirect "https://$http_host/vdesk/hangup.php3" } }
- Kevin_Stewart
Employee
Try this:
when HTTP_REQUEST { set uri [HTTP::uri] set host [HTTP::host] } when CLIENT_ACCEPTED { ACCESS::restrict_irule_events disable set citrix_logout 0 } when ACCESS_ACL_ALLOWED { set type [ACCESS::session data get session.client.type] if { !(${type} starts_with "citrix") } { if { ${uri} == "/" } { log local0. "Redirecting to /Citrix/InternalWeb/" ACCESS::respond 302 Location "https://${host}/Citrix/InternalWeb/" } } if { ${uri} contains "Logoff" } { after 2000 { ACCESS::session remove} set citrix_logout 1 set http_host ${host} } } when HTTP_RESPONSE { if { $citrix_logout eq 1 } { HTTP::redirect "https://$http_host/vdesk/hangup.php3" } }
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