This is a discussion on Images not showing in SSL, what do I have wrong? within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; We recently switched servers, SSL is working properly, but images in ssl arent working. Here is the configure.php file ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| We recently switched servers, SSL is working properly, but images in ssl arent working. Here is the configure.php file define('HTTP_SERVER', 'http://plumpurdy.com/'); // eg, cPanelŽ - should not be empty for productive servers define('HTTPS_SERVER', 'https://black.countingsheepwebdesigns.com/~plumrm/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_plumpurdy.com', 'plumpurdy.com'); define('HTTPS_COOKIE_plumpurdy.com', 'black.countingsheepwebdesigns.com/~plumrm/'); define('HTTP_COOKIE_PATH', 'shop/'); define('HTTPS_COOKIE_PATH', 'shop/'); define('DIR_WS_HTTP_CATALOG', 'shop/'); define('DIR_WS_HTTPS_CATALOG', 'shop/'); 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/plumrm/public_html/shop/'); 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', 'XXXXX'); define('DB_SERVER_PASSWORD', 'XXXXX'); define('DB_DATABASE', 'plumrm_purdy'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' |
|
#2
| ||||
| ||||
| This is wrong: PHP Code: PHP Code: PHP Code: PHP Code:
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#3
| |||
| |||
| Thank you but that didnt work either. Heres my new code: define('HTTP_SERVER', 'http://plumpurdy.com/'); // eg, cPanelŽ - should not be empty for productive servers define('HTTPS_SERVER', 'https://black.countingsheepwebdesigns.com/~plumrm/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.plumpurdy.com'); define('HTTPS_COOKIE_DOMAIN', '.countingsheepwebdesigns.com'); define('HTTP_COOKIE_PATH', 'shop/'); define('HTTPS_COOKIE_PATH', 'shop/'); define('DIR_WS_HTTP_CATALOG', 'shop/'); define('DIR_WS_HTTPS_CATALOG', 'shop/'); 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/plumrm/public_html/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); |
|
#4
| ||||
| ||||
| Do you have hotlink protection on by any chance? If so, you need to allow your secure domain to display your images.
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#5
| |||
| |||
| Thank you again! that fixed it! |
|
#6
| ||||
| ||||
| Quote:
PHP Code:
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#7
| ||||
| ||||
| Darned hotlink protection... causes more headaches! Glad you got it sorted out.
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Something went wrong deleting Header Images | Studio143 | osCMax v1.7 Discussion | 4 | 12-26-2004 03:33 PM |
| Path to images wrong after install | cwinter | osCommerce 2.2 Installation Help | 2 | 12-14-2004 06:37 AM |
| Download button not showing - Expiry date WRONG! | In-Overtime | osCMax v1.7 General Mods Discussion | 0 | 03-11-2004 10:32 PM |
| Product add but no image showing and HTML path wrong | rd42 | osCommerce 2.2 Installation Help | 8 | 06-12-2003 11:55 AM |
| Some Images not showing up...odd! | miko | osCommerce 2.2 Installation Help | 1 | 01-24-2003 12:36 PM |