PDA

View Full Version : SSL not working right


CampbJJ
11-13-05, 09:21 PM
I think I changed the right lines correctly to get SSL to work on one of my sites, yet it won't work. The site works fine, yet it never goes to SSL. Here are my config files:
includes\configure.php define('HTTP_SERVER', 'http://www.opulentdesk.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://opulentdeskcom.secure.powweb.com/'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'opulentdesk.com');
define('HTTPS_COOKIE_DOMAIN', 'opulentdeskcom.secure.powweb.com/');
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', '/www/o/p/opulentdesk.com/htdocs/store/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

admin\includes\configure.php define('HTTP_SERVER', 'http://opulentdesk.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://opulentdesk.com');
define('HTTPS_CATALOG_SERVER', 'https://opulentdeskcom.secure.powweb.com/');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/www/o/p/opulentdesk.com/htdocs/store/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/www/o/p/opulentdesk.com/htdocs/store/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/store/'); // absolute path required
define('DIR_FS_CATALOG', '/www/o/p/opulentdesk.com/htdocs/store/'); // 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/');

Any ideas? Thanks.

stevel
11-13-05, 09:40 PM
Take off the trailing slash on the HTTPS_SERVER and HTTPS_CATALOG_SERVER defines. I also recommend setting HTTP_SERVER in your admin configure.php to be the same as HTTPS_CATALOG_SERVER

CampbJJ
11-15-05, 07:24 PM
Okay, I've made those changes. It still says "You are protected by a unknown secure SSL connection" when I go to the admin panel. Any ideas?

stevel
11-16-05, 12:04 AM
That is the correct behavior. PowWeb's server doesn't provide the info that the admin page is looking for to display the security level of SSL. Check for the lock icon in the browser.

CampbJJ
11-16-05, 09:18 AM
Gotcha. Thanks for your help!