Forum Discussion
Ahmed_Galal
Cirrostratus
Hi,
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]] }}
Nikoolayy1
Jun 27, 2021MVP
You got the idea from the free f5 course 101 https://devcentral.f5.com/s/articles/irules-101-14-tcl-string-commands-part-2 ?
The F5 community as I mentioned has very nice free learnings for irules and I found a link that and there is even a new version of the 101 course:
https://devcentral.f5.com/s/articles/doing-that-thing-we-do-again-introducing-the101