gpineda8 Posted October 11, 2005 Posted October 11, 2005 I have been trying to get OSC to work with the ssl but nothing! The store and everything even admin works fine but it never does it under ssl. When checking out, it never goes to https:// and in the admin screen, the first screen is secured under the https but the links to the other pages in admin are not secured. Can someone please let me know what I doing wrong?? I really appreciate it! Here's the configure code. 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://uniqueasiangifts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://uniqueasiangifts.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'uniqueasiangifts.com'); define('HTTPS_COOKIE_DOMAIN', 'uniqueasiangifts.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', '/hsphere/local/home/*******/uniqueasiangifts.com/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Here's the admin/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://uniqueasiangifts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://uniqueasiangifts.com'); define('HTTPS_CATALOG_SERVER', 'https://uniqueasiangifts.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/gpineda8/uniqueasiangifts.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/hsphere/local/home/*******/uniqueasiangifts.com/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/hsphere/local/home/********/uniqueasiangifts.com/'); // 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/'); Thanks for all the help! :blush:
gpineda8 Posted October 11, 2005 Author Posted October 11, 2005 Does anyone have any suggestions? I am desparate! I have been trying to get OSC to work with the ssl but nothing! The store and everything even admin works fine but it never does it under ssl. When checking out, it never goes to https:// and in the admin screen, the first screen is secured under the https but the links to the other pages in admin are not secured. Can someone please let me know what I doing wrong?? I really appreciate it! Here's the configure code. 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://uniqueasiangifts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://uniqueasiangifts.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'uniqueasiangifts.com'); define('HTTPS_COOKIE_DOMAIN', 'uniqueasiangifts.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', '/hsphere/local/home/*******/uniqueasiangifts.com/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Here's the admin/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://uniqueasiangifts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://uniqueasiangifts.com'); define('HTTPS_CATALOG_SERVER', 'https://uniqueasiangifts.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/gpineda8/uniqueasiangifts.com/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/hsphere/local/home/*******/uniqueasiangifts.com/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/hsphere/local/home/********/uniqueasiangifts.com/'); // 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/'); Thanks for all the help! :blush:
AlanR Posted October 11, 2005 Posted October 11, 2005 Look in /includes/local for another configure.php file. If you find one rename it after making sure that the db information in the includes/configure.php file is correct. Also: It's a Starfield certificate which does not seem to be completely installed. 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)
gpineda8 Posted October 11, 2005 Author Posted October 11, 2005 Hey, that worked for the store checkout process. It now goes to the https path but the admin page still starts out in https but then all the links are still only to http. I found a local folder with a configure.php file in it under admin/includes but renaming that one did not help. Got any ideas for the admin page? Thanks!! Guy Pineda www.uniqueasiangifts.com/catalog Look in /includes/local for another configure.php file. If you find one rename it after making sure that the db information in the includes/configure.php file is correct. Also: It's a Starfield certificate which does not seem to be completely installed.
gpineda8 Posted October 11, 2005 Author Posted October 11, 2005 I got it! Vger post somewhere else helped me figure out my mistake. Thanks to the OSC community for all the help! Guy
cgertz Posted October 17, 2005 Posted October 17, 2005 I got it! Vger post somewhere else helped me figure out my mistake. Thanks to the OSC community for all the help! Guy Can you let me know what yuou did? I have the same problem with the admin pages. First page is secured than everything else in the admin section is non secured. The customer side seems to work fine. Thanks CG
♥Vger Posted October 17, 2005 Posted October 17, 2005 To make all pages in admin https then, in addition to the https address being set to https://www.yourdomain.com, you need to make the two http addresses read 'https://www.yourdomain.com' - for a full cert. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.