Forum Discussion

bluestar007_339's avatar
bluestar007_339
Icon for Nimbostratus rankNimbostratus
Dec 06, 2017

Mixed Content error

Hi,

 

I am getting the floowing error

 

Mixed Content: The page at 'https://myserver.com/psp/SSSSS/EMP/CMS/h/?tab=DEFAULT' was loaded over HTTPS, but requested an insecure stylesheet 'http://myserver.com/cs/SSSSS/cache/E_SCSTYLEDEF_7.css'. This request has been blocked; the content must be served over HTTPS.

 

I have the rules below

 

when HTTP_REQUEST { HTTP::redirect "https://[HTTP::host][HTTP::uri]" }

 

when HTTP_RESPONSE { HTTP::header insert Strict-Transport-Security "max-age=31536000; includeSubDomains" }

 

how do i fix the issue ?

 

Thanks