GS VISION Posted March 12, 2014 Share Posted March 12, 2014 I enabled AJAX cart on SSL enabled eshop but the secured pages say they load insecured content. The first step was to enable CORS by adding this to .htaccess file: # ---------------------------------------------------------------------- # Cross-domain AJAX requests # ---------------------------------------------------------------------- # Serve cross-domain Ajax requests, disabled by default. # enable-cors.org # code.google.com/p/html5security/wiki/CrossOriginRequestSecurity <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> But now I struggle with https://myshop.com/?controller=cart&ajax=true redirecting to http page and still cannot get the SSL to get verified. P.S: The whole problem comes from what is loaded by https://myshop.com/?controller=cart&ajax=true. There are links to the products there which are http and should stay that way as product pages are not meant to be loaded with https because they will be slowed down. Link to comment Share on other sites More sharing options...
skinnybloke Posted November 13, 2015 Share Posted November 13, 2015 Hi - did you find a solution for this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now