Forum Discussion

Ahmad_Al-Zubi_3's avatar
Ahmad_Al-Zubi_3
Icon for Nimbostratus rankNimbostratus
May 10, 2018

Webpage errors after using offloading

Hello!

 

I have a virtual server listening on 80 and serving nodes at 80. no we added offloading on a new https virtual server and iRule on the old one to redirect (am using the default iRule for redirection) and we have an error when we try to access the page:

 

  • Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure stylesheet ''. This request has been blocked; the content must be served over HTTPS.
  • Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure script ''. This request has been blocked; the content must be served over HTTPS. So the page is not viewed correctly on HTTPS and not functional.

How can i fix this problem from F5 ?

 

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    From the limited information available here, it sounds like the page loaded from the HTTPS virtual server contained objects that tried to source from a site using hardcoded "http" scheme/protocol.

     

    The best way to have this fixed is to get the application administrators/developers to change to use relative URLs to reference resources on the same site.

     

    You can't do anything if the URLs are for a different host altogether.

     

    Alternatively, you can create a stream profile to change every reference of http to https. See K8115: Overview of the Stream profile.