Forum Discussion
Mostafa_Elsayed
Cirrus
Jun 24, 2021IRULE to redirect HTTP response port
i want to create IRULE to make port redirection to my VIP port at HTTP response. Website_VIP : 10.1.1.200:2006 and when i access this website , it redirects me to "10.1.1.200:2006" with HTTP R...
Ahmed_Galal
Cirrostratus
Jun 27, 2021Hi,
i think i got what you want look here is an irule example in case of redirection (302):-
when HTTP_RESPONSE { if {[HTTP::status] == "302" }
{ HTTP::header replace Location [string map {"myserver.domain:4443" "myserver.domain"}[HTTP::header Location]] }}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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