F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

JamesB12's avatar
JamesB12
Icon for Altocumulus rankAltocumulus
Jun 24, 2020

Retain the HTTP Header in URL Redirection - in POST method

Hi,

 

I have an iRule for below URL redirection.

 

when HTTP_REQUEST {

 if { ([HTTP::host] eq "abc.com") && ([string tolower [HTTP::uri]] starts_with "/iauth") } {

  HTTP::redirect https://xyz.com[HTTP::uri]

 }

}

 

When the POST method is used to redirect , it fails and forwards the traffic on GET - is there a way to keep the header as is?

 

Works fine when GET method is used.

 

 

5 Replies