ecgbyme Posted October 12, 2005 Share Posted October 12, 2005 I made the changes for the shared SSL to work. I've been re-doing the site because of backups that didn't work. "Beware administration Backup could be useless" backup in CPanel. Anyways I've insatll the exact same changes that worked perfectly in the old site but will not secure the oirder proccess in this new site. Here's is the code found in store/includes/configure.php: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://ecgnaturals.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://centos.securenet-server.net/~ecgnatur/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'ecgnaturals.com'); define('HTTPS_COOKIE_DOMAIN', 'centos.securenet-server.net/~ecgnatur/'); Appreciate any help!! B) Link to comment Share on other sites More sharing options...
ecgbyme Posted October 12, 2005 Author Share Posted October 12, 2005 Anyone out there that can help!!? Any programer who could spot what's wrong!? Here is the whole code found in store/includes/configure.php: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://ecgnaturals.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://centos.securenet-server.net/~ecgnatur/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'ecgnaturals.com'); define('HTTPS_COOKIE_DOMAIN', 'centos.securenet-server.net/~ecgnatur/'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); 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/ecgnatur/public_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers define('DB_SERVER_USERNAME', 'ecgnatur_osc1'); define('DB_SERVER_PASSWORD', 'I5E4mOO22q{w'); define('DB_DATABASE', 'ecgnatur_osc1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Please, got to resolve this. Appreciate any help! Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2005 Share Posted October 12, 2005 you may want to remove everything below: // define our database connection cause you're asking for a HACK! Link to comment Share on other sites More sharing options...
AlanR Posted October 12, 2005 Share Posted October 12, 2005 Look in includes/local for an extra configure.php file. If you find one rename it, it's probably got define('ENABLE_SSL', false); Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.