View Full Version : Reason why some URLs are Green & some Red?
Silverado05
07-19-2006, 10:10 PM
I haven't paid to much attention to this in the past about why this is, but I have actually wondered lately what the difference is when you go to secure pages that some URL's are green and some are red. I noticed it's different depending on where the cert came from. I never cared before as long as it was working. So is their any difference or meaning in Red or Green URL?
Dustin
07-20-2006, 01:11 AM
I'm guessing you're using firefox for this.
Green URL's mean everything on the page is encrypted through the SSL. Red URLs mean that some items are not linked securely (commonly images or other assorted items on the page). A red URL is still in the SSL mode but some items are not encrypted.
Silverado05
07-20-2006, 01:17 AM
Thanks, I am using Firefox. Is it ok if the URL is red? I have noticed that since I have installed my new SSL that I am using on OSC that my catalog URL is now in Red and the Admin side is in Green.
I came across this one site earlier whos SSL was Blue, that was a first I had seen that.
Dustin
07-20-2006, 01:22 AM
In your OS Commerce config file you may want to check to make sure that your site is properly set up in SSL mode. Be sure the www. is on the URLs.
Silverado05
07-20-2006, 01:28 AM
Yea as far I know everything is configured correctly. I have posted this issue on the OSC Forum as I know this is more of OSC issue than a Blue Host issue, but here is my config file.
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.txcampingoutfitters.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.txcampingoutfitters.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.txcampingoutfitters.com');
define('HTTPS_COOKIE_DOMAIN', 'www.txcampingoutfitters.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/txcampin/public_html');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Maggilove
07-20-2006, 02:15 AM
Your config file looks fine... do you have any external links on your site?
Silverado05
07-20-2006, 09:21 AM
Yes I do, a few from my banner ads in my footer and some infoboxes that link to my forum and eBay store.
Dustin
07-20-2006, 09:50 AM
If you give your URL I can take a look at the site and let you know what may be causing the issue. Otherwise, it's hard to say as there are many possibilities.
Silverado05
07-20-2006, 04:32 PM
Hey Dustin, thanks for the offer. It's a good thing you're not a detective or you would've seen my URL is the config file above... LoL j/K
My Site (http://www.txcampingoutfitters.com)
I wonder if it could be my live support feature that could be causing it?
I am still doing some work on it so pardon anything that doesn't look right.
Dustin
07-20-2006, 04:57 PM
Your OS commerce looks like it's running fine, the only thing I saw just at glance that may be related is the src of some of your files, namely javascripts, weren't in secure mode. You could swap those to relative links to fix that. Aside from that all of the actual links and settings inside the cart appear to be right.
Silverado05
07-20-2006, 05:32 PM
Thanks for looking at it. Do you know which ones mainly that could be causing it. I know my live support uses a pop-up and is on every page.
If you click on "Your Account" in the top of the header it will take you to a secure login/create account page. It goes green at first then when the page loads it goes red. So only thing I could think of is the Live Support box. Could that be what's causing it since you said the javascript wasn't secure?
Also you did seem to notice if the catagories box in the top left is mis-sized did you. I.E. overlaps the box, or is to small. You will see what I am talking about if it is.
-Thanks Again
Silverado05
08-11-2006, 04:33 AM
Ok I fixed this issue. So for those that might come across this same problem here is how you go about fixing it.
If you are pulling data from a non-secure URL/site into a secure site then you just need to secure the URL of the data from the non-secure site using Bluehosts Shared SSL
for example you would change the URL of the non-secrure URL to something like this.
https://secure.bluehost.com/~yourunixusername/dir/dir/etc.html
So like in my case it was the forum into my OSC store so it looked like this.
https://secure.bluehost.com/~yourunixusername/forum/index.php
Hope this helps others that are not getting fully secured sites due to non-secure links on a secure page.
Thanks to the Bluehost team for helping me pinpoint what was causing the problem.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.