Options

Mixed Content

Hi everyone,

I have a problem with my SLB A10 thunder ax 1030S with mixed content on ssl-off loading, behind a10 has a Oracle Weblogic Server. I have several context root applications on the same JVM I make aflex for work it.

follow the aflex:

when HTTP_REQUEST {

switch [string tolower [HTTP::host]] {

testeqa.br { if { [HTTP::uri] equals "/home.do" } {
HTTP::redirect "https://[HTTP::host]/"} { pool pool_testeqa }
}
}
}

But when I try access browser with option inspect (google chrome), I can see the warning notice:

Mixed Content: The page at 'https://testeqa.com/user-login/login.jsp' was loaded over HTTPS, but requested an insecure image 'http://testeqa.com/app-resources/applications/icon.png'. This content should also be served over HTTPS.

Is there a option for fix it?
Tagged:

Comments

  • Options
    edited November 2016
    Hi,

    Please use the following method to redirect to Https.
    Note : No statements are executed after redirect. So assigning "{ pool pool_testeqa }" is not valid.

    aFlex:
    when HTTP_REQUEST {
       switch [string tolower [HTTP::host]] {
         testeqa.br { if { [HTTP::uri] equals “/home.do” } {
                     HTTP::redirect https://[HTTP::host][HTTP::uri]
                   }
               }
          }
    }
    
    Give it a try. Hope this works for you.

    Regards,
    Avinash
Sign In or Register to comment.