Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Doesn't work


Internet-Exposure

Recommended Posts

Posted

Hello.

I've recently installed SSL on my server and I've tried to make it so that my online store works with it https://westbridge-fineart.com/catalog/default.php

 

However once I come to the store no matter through HTTP or HTTPS, the links are always in HTTP

 

You can see my configure.php below

 

I've tried to setup 'HTTP_SERVER' as 'https://westbridge-fineart.com', but it didn't work for me.

 

checkout procedure is also non secured.

 

I'd appriciate your suggestions.

 

 

<?php

/*

$Id: configure.php,v 1.12 2002/06/16 22:11:53 harley_vb Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 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://westbridge-fineart.com'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://westbridge-fineart.com'); // eg, https://localhost - should not be NULL for productive servers

define('ENABLE_SSL',true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_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', ''); // eg, localhost - should not be NULL for productive servers

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'catalog');

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

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

?>

Posted

hello,

 

try putting the www in front of your domain name and see what happens.

 

Im working on some crazy shared certificate, session junk now and I cant find a solution and Ive been hacking away for awhile.

 

One thing for sure is that it wont hurty anything to try

While I'm operating on OSCommerce, I don't have to worry about silly vitals or forgetting to turn off the ane..the.. no wait I remember aes....thetic, or right I've got it Anaesthetic

Posted

This line is the problem

 

define('ENABLE_SSL',true); // secure webserver for checkout procedure?

 

If ssl was being enabled but you had a path problem you would be getting errors. What you have is nothing like is was still set to false.

 

I would delete the file from the server and then upload the new one to make sure you are using the right one. Maybe it is not being overwritten.

 

I would also try this

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Archived

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

×
×
  • Create New...