Forum Discussion
url redirect
- Jul 10, 2023
Diago1111 I have come up with the following iRule which should do what you want. I have swapped "xyz" with "example.com" so in your scenario the redirect app pool server would send a redirect back to the client of "redirect.example.com" instead of "xyz-redirect" so that it appears as a full FQDN rather than a partial name. You can replace "example.com" with whatever you would like and the same goes for the URI path that you would like to match. Please keep in mind that this iRule assumes that the default pool associated to your virtual server would be the iflow server pool but if it isn't you would need to add an else action to send all other traffic to your iflow server pool.
when HTTP_REQUEST priority 500 { if { ([HTTP::host] == "example.com") && ([string tolower [HTTP::uri]] contains "/iflow/cx.exe/link") } { pool POOL_redirect_app } }
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