Nintendude Posted April 9, 2005 Posted April 9, 2005 Hey guys it seems that the site is reading the secure server wrong although it shows as https:// the lock doesn't show up. The code in question is : <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> in every file that goes secure like login.php in the configure.php its set up as follows define('HTTP_SERVER', 'http://www.xxxxxxx.ca/'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://www.xxxxxxxx.ca/'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', ''); // absolute path required define('DIR_WS_IMAGES', 'https://www.xxxxxxxx.ca/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname 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/'); yet when you go into https://www.xxxxxxxx.ca/login.php and check the source it says <base href="http://www.xxxxxxxx.ca/"> makes no sense to me it should say https:// can anyone help? Please help so I can finish this already!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.