Forum Discussion

Ahmad_03_151082's avatar
Ahmad_03_151082
Icon for Nimbostratus rankNimbostratus
Jun 10, 2015

exclude URL

hi

 

i have website something.com this website hosted another website anything.com i have enabled SSL on something.com after that it is enabled also in anything.com now because the common name for SSL is registered for something.com when i open anything.com it shows me SSL certificate warning to solve this issue i want to exclude anything.com from SSL irule i tried with below:

 

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

 

but it doesn't work, appreciate your usual help.

 

  • is anything.com http or https?

     

    if https, do you have anything.com certificate and private key?

     

    • nitass_89166's avatar
      nitass_89166
      Icon for Noctilucent rankNoctilucent
      you have 2 virtual servers; one is http and the other one is https, haven't you? something.com is https but anything.com is http. am i correct?
  • is anything.com http or https?

     

    if https, do you have anything.com certificate and private key?

     

    • nitass's avatar
      nitass
      Icon for Employee rankEmployee
      you have 2 virtual servers; one is http and the other one is https, haven't you? something.com is https but anything.com is http. am i correct?