Alyson_160947
Nimbostratus
Jun 16, 2014Solved
HTTPS getting the uri
I'm trying to do a redirect with iRules that if user goes to https://xxx.xxx/bob it goes to another site. However it doesn't works. It only works if the users goes to http://xxx.xxx/bob. Do you have to do something special for https sites?
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "bob" }
"HTTP::redirect "http://www.google.com" }}
You must apply the iRule to a virtual server that is handling https traffic. Eg that is on port 443.