milkypop Posted November 10, 2004 Posted November 10, 2004 hi, can someone help me out with changing the location of my logo, it points to http:// and not https: and i for some reason can't figure out where to put it so it does. agh! another ssl question: all pages are secure and read https in the browser EXCEPT the page you get once you log in. upon logging in, my site exits the secure area, though all links direct them back to https. is there a way to fix this? i'm guessing the problem is in login.php but am unsure. thank you very much, megan
♥Vger Posted November 10, 2004 Posted November 10, 2004 I'm guessing that the problem is in your configure.php files. Post both of them here, leaving out the database user name and password and I'll take a look at them. Vger
milkypop Posted November 11, 2004 Author Posted November 11, 2004 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://www.milkypop.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.milkypop.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.milkypop.com'); define('HTTPS_COOKIE_DOMAIN', 'www.milkypop.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', '/home/content/m/i/l/milkypop/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '...'); // 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', 'mysql'); // leave empty '' for default handler or set to 'mysql' catalog/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://www.milkypop.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.milkypop.com'); define('HTTPS_CATALOG_SERVER', 'https://www.milkypop.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/content/m/i/l/milkypop/html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/content/m/i/l/milkypop/html/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/content/m/i/l/milkypop/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', '...'); // 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', 'mysql'); // leave empty '' for default handler or set to 'mysql' Thanks for the help... Megan
♥Vger Posted November 11, 2004 Posted November 11, 2004 it points to http:// and not https It would normally be under http and not https. If you want it to be under https then you are going to have to hardcode it in your header.php file.e.g. <a href="<?php echo tep_href_link(FILENAME_DEFAULT, ''); ?>"><img src="https://www.yourdomain.com/images/yourlogo.gif" width=*** height=*** border=0 align=**** alt="Home"></a> upon logging in, my site exits the secure area, though all links direct them back to https. is there a way to fix this? i'm guessing the problem is in login.php but am unsure. Your configure.php files are correctly set up and working the way they should. There is no problem. The Login is covered by https, also the 'your account' area and parts of the checkout process. Your homepage and product description pages are under http. So, when you have logged in and you return to the homepage you should see http and not https. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.