Forum Discussion

jspec21_47500's avatar
Icon for Nimbostratus rankNimbostratus
Feb 24, 2012

HTTP Class Profile - redirect a specific URL

Is there a way with HTTP class profiles to only redirect SPECIFIC URLs from port 80 to 443 and leave other URLs (that share the same virtual server) alone?






virtual server port 80 has 2 URLs pointing to it:



I only want to be redirected to, should not be changed.



Is there something in the "Host List" or something?




1 Reply

  • Hamish's avatar
    Icon for Cirrocumulus rankCirrocumulus
    Not sure about using an http profile for it. But an irule to do this is pretty simple. Just a check of the [HTTP::host] and [HTTP::uri] (Assuming you only want / to be redirected) and then doing an HTTP::redirect and return.



    Is there a reason for not using an irule?