eCommerce construction > Installation and Configuration

javascript and css not referencing https

(1/1)

srhodes:
Can someone tell me what setting to update to force all connections to point to HTTPS? The AJAX/JS and CSS files are not set to "//" which would cause the browser to auto detect HTTP vs HTTPS paths.

Here are just a few lines from the browser console demonstrating the errors:
Blocked loading mixed active content “http://cart.rh<snip>ns.com/admin/view/default/stylesheet/stylesheet.css”
index.php
Blocked loading mixed active content “http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js”
index.php
Loading failed for the <script> with source “http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js”.

Basara:
Hello.
You should set up a redirect on your server. If you have an Apache server try this simple .htaccess rule
http://forum.abantecart.com/index.php/topic,7187.msg29855.html#msg29855

srhodes:
I configured both the .htaccess and Nginx configurations to redirect traffic and still have the same result. My reverse-proxy is automatically redirecting HTTP to HTTPS but this application is not following suit.

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod