Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

williehood_2622's avatar
williehood_2622
Icon for Nimbostratus rankNimbostratus
Aug 22, 2018

irule redirect pool uri http or https

I'm writing irule, I have two pools one for hhtps traffic and one for http traffic. I would like to have irule that based on uri "ex ; goes to http on pool1 any other port 80 redirects to https pool 2.

 

/Content pool1 http://www.example.com/Content, else pool2 https://www.example.com

 

when HTTP_REQUEST { switch [string tolower [HTTP::uri]] {

 

“/content” { pool unsecure_80 HTTP::redirect "http://[HTTP::host][HTTP::uri]" } "default" { pool secure } HTTP::redirect "http://[HTTP::host][HTTP::uri]"

 

} }

 

3 Replies

No RepliesBe the first to reply