uitjeplaat Posted May 31, 2007 Share Posted May 31, 2007 i cant get ssl to work my configuration is as follows: i have a hostgator account and also ssl from hostgator i've made a private key for my website (http://www.uitjeplaat.com) and a cert and a csr for www.uitjeplaat.com i've made this php file for the host name it says: for http:// $HTTP_HOST == uitjeplaat.com $HTTPS_HOST == getenv('SERVER_PORT') == 80 getenv('HTTPS') == getenv('HTTP_X_FORWARDED_SERVER') == getenv('HTTP_X_FORWARDED_HOST') == getenv('HTTP_X_FORWARDED_BY') == $_SERVER['HTTPS'] == getenv('DOCUMENT_ROOT') == /home/admin/public_html $DOCUMENT_ROOT == /home/admin/public_html for https:// $HTTP_HOST == www.uitjeplaat.com $HTTPS_HOST == getenv('SERVER_PORT') == 443 getenv('HTTPS') == on getenv('HTTP_X_FORWARDED_SERVER') == getenv('HTTP_X_FORWARDED_HOST') == getenv('HTTP_X_FORWARDED_BY') == $_SERVER['HTTPS'] == on getenv('DOCUMENT_ROOT') == /home/admin/public_html $DOCUMENT_ROOT == /home/admin/public_html i've tried changing line 41 in the catalog/includes/application_top.php but it won't work my includes/configure.php looks like this: define('HTTP_SERVER', 'http://www.uitjeplaat.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.uitjeplaat.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.uitjeplaat.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.uitjeplaat.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_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/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/admin/public_html/'); 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 empty for productive servers define('DB_SERVER_USERNAME', '********'); define('DB_SERVER_PASSWORD',******** ''); define('DB_DATABASE', '********'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> and my admin/includes/configuration.php looks like this: define('HTTP_SERVER', 'https://www.uitjeplaat.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.uitjeplaat.com'); define('HTTPS_CATALOG_SERVER', 'https://www.uitjeplaat.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/admin/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/admin/public_html/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/admin/public_html/'); // 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/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '*********'); define('DB_SERVER_PASSWORD', '**********'); define('DB_DATABASE', '**********'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> i've enebled ssl session id in the adminsection on and forcing cookies off i've tried many things but it wont work it'll probably be something small but i cant find it please help me i cant get this out of my head the past 3 days i've read almost every topic about ssl but none have an answer to this thanks a lot in advance :blush: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.