Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL clarification


Guest

Recommended Posts

Posted

Hi Guys.

 

I have been using OSC for a while now, without the ssl option. My hosting co has got ssl, (gradwell) which I can host securely on now (https://uk-ssl.com/pro-supermoto/PSMBC.gif for the old site epdq logo).

 

No I'm going in clean and have gone through the install, however do I need to copy any files in to my ssl folder? Everything I've read said the script does it for me, however I can't get anything to work.

 

Question:

1. Do I need to install my catalog in both the http: folder and the https: folder? - if certain files - which ones? When I follwed the install route it didn't copy anything across in to that folder, and the cart contents was error 404.

 

I'm sure this must have been published somewhere - but after 2 hours of searching I thought I'd better ask.

 

Thanks in advance

 

rob.

Posted

If you have two seperate folders for http and https docs then you need to copy all files/folders from the http docs folder to the https docs folder. You can then remove the 'admin' folder from http docs.

 

Updates to the database are handled okay, but any edits you do to files you need to copy to the https docs folder as well.

 

Vger

Posted
If you have two seperate folders for http and https docs then you need to copy all files/folders from the http docs folder to the https docs folder. You can then remove the 'admin' folder from http docs.

 

Updates to the database are handled okay, but any edits you do to files you need to copy to the https docs folder as well.

 

Vger

 

thats fantastic! Cheers Vger. I hadn't copied any files over - hence the issue. I really apprecite your help.

 

I'll copy all folders and files over now, ensuring all updates are duplicated on the https folder too.

 

 

Rob

Posted

Hi - now have the directory complete, and the checkout links to the SSL part, however it doesn't show the padlock, nor can I access admin within that folder.

 

I copied everything across (taken all eve!) and have re-set config files to chmod 644.

 

any ideas guys?

 

catalog config:

 define('HTTP_SERVER', 'http://www.rekluse.co.uk'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://uk-ssl.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.rekluse.co.uk');
 define('HTTPS_COOKIE_DOMAIN', 'www.rekluse.co.uk');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/pro-supermoto/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/');

//Added for BTS1.0
 define('DIR_WS_TEMPLATES', 'templates/');
 define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/');
 define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/');
//End BTS1.0
 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/robmorphet/webs/rekluse.co.uk/www/htdocs/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', 'mysql4db-1.gradwell.net'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'RMS');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

and here's the admin config...

 

define('HTTP_SERVER', 'http://www.rekluse.co.uk'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.rekluse.co.uk');
 define('HTTPS_CATALOG_SERVER', 'https://uk-ssl.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/robmorphet/webs/rekluse.co.uk/www/htdocs/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/robmorphet/webs/rekluse.co.uk/www/htdocs/catalog/admin/'); // absolute path required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/robmorphet/webs/rekluse.co.uk/www/htdocs/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// Added for Templating
define('DIR_FS_CATALOG_MAINPAGE_MODULES', DIR_FS_CATALOG_MODULES . 'mainpage_modules/');
define('DIR_WS_TEMPLATES', DIR_WS_CATALOG . 'templates/');
define('DIR_FS_TEMPLATES', DIR_FS_CATALOG . 'templates/');

// define our database connection
 define('DB_SERVER', 'mysql4db-1.gradwell.net'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'RMS');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

any help, one getting in to the admin folder, and two finding out why the padlock doesn't show would be very welcome!

 

Thanks

rob.

Posted

includes/configure.php

-------------------------

define('HTTPS_SERVER', 'https://uk-ssl.com/pro-supermoto');

define('HTTPS_COOKIE_DOMAIN', 'uk-ssl.com/pro-supermoto');

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

 

admin/includes/configure.php

----------------------------------

define('HTTP_SERVER', 'https://uk-ssl.com/pro-supermoto'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'https://uk-ssl.com/pro-supermoto');

define('HTTPS_CATALOG_SERVER', ''https://uk-ssl.com/pro-supermoto');

 

Check this out, because it's probably the wrong path to the ssl folder:

define('DIR_FS_DOCUMENT_ROOT', '/home/robmorphet/webs/rekluse.co.uk/www/htdocs/catalog/'); // where the pages are located on the server

 

I think that once you find that path you'll be okay to get into your admin folder.

 

Vger

Posted

i have also been looking for thsi info

 

i am new to php - though i do make phpBB Skins/Templates

 

and SSL has had me beat - i do hope this works

 

regards

Archived

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

×
×
  • Create New...