Forum Discussion
Sheetal_43349
Nimbostratus
Sep 09, 2018URL 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 re...
Kevin_Stewart
Employee
Sep 09, 2018Try 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
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