For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

ShakN_167332's avatar
ShakN_167332
Icon for Nimbostratus rankNimbostratus
Aug 20, 2014

I want to Redirect multiple Sites in a single Irule. please help me with the irule command.

I have mulitple sites where i want my LAN users should not to redirected to https when they use url with http. but when any internet users use http://abc.com than it should redirect to https://abc.com

 

Can i use the below irule for this.

 

when HTTP_REQUEST { if {[HTTP::host] equals "abc.com"} { HTTP::redirect "https://abc.com[HTTP::uri]" } }

 

Now i want to do for multiple sites in same irule can i use another if statement?

 

49 Replies