Paulo_Moura_134
Apr 03, 2019Nimbostratus
Redirecting an specific URI to another one on the same domain
Hi all,
I'm trying redirect an specific URI to home page, but it's not working fine.
I have te following iRule configured:
when HTTP_REQUEST { if { ([HTTP::host] equals "subdomain.domain.com") and ([HTTP::uri] ends_with "/identityiq/dashboard/editPreferences.jsf") } { HTTP::redirect "https://[HTTP::host]/identityiq/home.jsf" } }
The objective is "block", doing a redirect on URI /identityiq/dashboard/editPreferences.jsf redirecting to /identityiq/home.jsf