Forum Discussion
AlbertoCarlone_
Nimbostratus
Nov 27, 2017iRule: redirect from port to port with same "/path"
Hi all, i just need to redirect from to
i've tried when HTTP_REQUEST { HTTP::redirect "http://[HTTP::host]:8901[HTTP::uri]" }
but it does not work as planned.
- Thomas_McLean_1
Nimbostratus
Hi, what doesn't work? Does the iRule compile? If so, does it give you an error message?
- Samir_Jha_52506
Noctilucent
Please try below irule & see the log in F5 & modify the iRule accordingly. Hope it will help.
when HTTP_REQUEST { log local0. "http://[HTTP::host]:8901[HTTP::uri]" HTTP::redirect "http://[HTTP::host]:8901[HTTP::uri]" }
cat ltm | grep 'url_name'
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