Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php for shared ssl server


tony3856

Recommended Posts

Can someone check out my file and tell me what I have set correctly as I cannot login to shared ssl server as a guest or as a returning user. The configure.php file is below.... thanks to anyone who can help me. This is a new set up.

 

<?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.reeceenterprises.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure.dns77.com/www_reeceenterprises_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.reeceenterprises.com');

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

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

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

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

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

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/sites/site122/web/cart/');

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

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

 

// define our database connection

define('DB_SERVER', 'mysql.dns77.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'XXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXX');

define('DB_DATABASE', 'XXXXXX');

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

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

?>

Link to comment
Share on other sites

if your https pointer is correct per your host setup, and ssl is enabled then it should work. go to the admin/tools and server info and search for ssl to see if it is compiled in with php

Link to comment
Share on other sites

double check with your host to see how ssl is supposed to be setup.

 

i also noticed you have www_reeceenterprises_com in your path of the https

 

post your host domain name here, can see how they want you to set it up

Link to comment
Share on other sites

I'm not having any troubles with ssl but I think I had the same problem. I was trying to setup a shop on a new hosting account before I pointed the domain at it. So my access to the cart was something like:

 

http://255.255.255.255/~accountname/cart/

 

I had a devil of a time getting this to work. In the end I had to set the config files as follows:

 

1. for server variables (ex HTTPS_SERVER), just put in the server ie 'https://secure.dns77.com' (don't tack on the folder name)

 

2. then on absolute paths (ex DIR_WS_HTTPS_CATALOG) prefix it with your folder name. ie /www_reeceenterprises_com/cart/

 

3. the HTTPS_COOKIE_PATH however can just be /cart/ (this is the way I have mine)

 

Check both your configure.php files.

 

HTH

 

Steph

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...