Guest Posted March 30, 2004 Share Posted March 30, 2004 I have tried every combination. I have contacted my host. SSL is set up and working. When I asked for their help, I got a REALLY LAME answer, https://katlynskornergifts.com/catalog/login.php works for me. I can't get the site to switch to SSL when it's supposed to. Yes, it does work if you actually type: https://katlynskornergifts.com/catalog/login.php, but it also comes up with the Security Alert box. I don't know why as I've checked all the images to be called with php, not <img src...> I'm afraid that customers are just not going to type that above address into their browsers. Gees, some people! :-) If starting at http://www.katlynskornergifts.com and click to login it goes to: http://katlynskornergifts.com/catalog/login.php and is not secure. Can someone look at my configs and see what I'm doing wrong please? I wanted it to all be with www, but it doesn't look like that can happen either. My settings in Oscommerce are: catalog/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://katlynskornergifts.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://katlynskornergifts.ixwebhosting.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'katlynskornergifts.com'); define('HTTPS_COOKIE_DOMAIN', 'katlynskornergifts.ixwebhosting.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/'); admin/includes/configure.php: // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'https://katlynskornergifts.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://katlynskornergifts.com'); define('HTTPS_CATALOG_SERVER', 'https://katlynskornergifts.ixwebhosting.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/mitcheka/katlynskornergifts.com/catalog/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/hsphere/local/home/mitcheka/katlynskornergifts.com/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/hsphere/local/home/mitcheka/katlynskornergifts.com/catalog/'); 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('DIR_FS_LOGS', '/hsphere/local/home/mitcheka/logs/katlynskornergifts.com'); Please help me figure this out. Link to comment Share on other sites More sharing options...
AlanR Posted March 30, 2004 Share Posted March 30, 2004 Read through this: http://www.oscommerce.com/forums/index.php?showtopic=72486&st=0 Or search the forums, others have had problems with the secure/insecure mixed items warning. You'll save yourself a lot of hassles and look more "real" if you get your own cert. 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.