Forum Discussion
JeffA55_350183
Nimbostratus
Jan 29, 2018Irule redirection
Have a question about redirecting (IRULE)
https://abc-beta.com/api1
need to be re-written as
https://abc-beta.com:7070/api1
Where api1 is any web instance and there will be multiple sites per ...
Only1masterbla1
Cirrus
Jan 29, 2018You use try iRulelike this one:
Code
When HTTP_REQUEST { if {[HTTP::uri] starts with /ap1 } { HTTP::redirect ";[HTTP::host]:7070"/[HTTP::uri] } else { HTTP::redirect ";[HTTP::host]:70070"/[HTTP::uri] } }
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