Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Another SSL dummy


drue

Recommended Posts

Posted

Greetings all,

 

it appears that my ssl is place as the admin area will lock. The problem is the catalog area will not. I have configured the config.php file, and my index for a moment will display a lock, then it reverts to https, but without a lock.. It appears to be a path issue, but I have not really put any design into the site yet with the exception of replacing some images here and there.

Typically, you have to remove any and all http references, but I look at each page which depicts the Open license info as http, but i do not think it is that.

 

I'm up in arms at this moment and respectfully request any assistance that could be provided in resolving this issue. My web site is annquinnlimited.com

 

Vger, you seem to really be able to hone into these kind of issues, any assistance you can provide would be greatly appreciated.

 

thank you

Drue

Posted
Greetings all,

 

it appears that my ssl is place as the admin area will lock. The problem is the catalog area will not. I have configured the config.php file, and my index for a moment will display a lock, then it reverts to https, but without a lock.. It appears to be a path issue, but I have not really put any design into the site yet with the exception of replacing some images here and there.

Typically, you have to remove any and all http references, but I look at each page which depicts the Open license info as http, but i do not think it is that.

 

I'm up in arms at this moment and respectfully request any assistance that could be provided in resolving this issue. My web site is annquinnlimited.com

 

Vger, you seem to really be able to hone into these kind of issues, any assistance you can provide would be greatly appreciated.

 

thank you

Drue

Can you post a bit of your catalog/includes/configure.php file? Exclude user names and passwords. Include in particular:

 

define('HTTP_SERVER', etc.

define('HTTPS_SERVER', etc

define('ENABLE_SSL', 'true')

Posted

Well, first of all there are two issues here.

 

Admin - yes you do want to put all of this behind ssl - so make all file pathways for http references read https://www.yourdomain.com

 

Catalog - no you don't want to put all of your storefront behind ssl. There's no need - oscommerce automatically decides which needs to be behind ssl and which doesn't. By trying to make it all https you will set up conflicts with the osCommerce coding (you say the page IS SSL, and the page says it's NOT SSL). Also, your site will slow right down as all https pages have to be encrypted before being delivered on the page and this takes time. So in includes/configure.php all http references should point to http://www.yourdomain.com and vice versa for https references. Your cookie domain in both cases is www.yourdomain.com

 

Vger

Posted

Hello again, here is my configure.php code. Please note, that my admin area locks fine, it's just the catalog. I would be happy if it simply locked at user signup/sign in and check out process.. thanks..

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.annquinnlimited.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.annquinnlimited.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.annquinnlimited.com');

define('HTTPS_COOKIE_DOMAIN', 'www.annquinnlimited.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/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/content/a/n/n/annquinn/html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'mysqlserverpath'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'blabla');

define('DB_SERVER_PASSWORD', 'blabla);

define('DB_DATABASE', 'blabla');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...