Forum Discussion

Kips_274718's avatar
Kips_274718
Icon for Nimbostratus rankNimbostratus
Sep 13, 2017

Irule works fine on port 80 but doesnt on port 443

Hi All, I managed to get an irule working on port 80 which redirects http://xyz.com to https://xyx.com:9510/xxxxx/

 

but i need to also work on port 443 so at the moment https://xyz.com doesnt redirect? the same irule on the ssl profile doesnt do anything its seems it should be pretty simple but i cant figure it out!

 

this works on port 80 profile

 

when HTTP_REQUEST { if {[string tolower [HTTP::uri]] equals "/"}{ HTTP::redirect https://[HTTP::host]:9510/xxxxx/ } }

 

1 Reply

  • Do you have a virtual server with port 9510 with clientssl profile? If yes, can you provide the relevant part of your configuration?

     

    Also, can explain better what is the problem you see? Does the redirect works but you can't open the page after?