This is a discussion on setup guide for http to https? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I just want to make sure I am getting this straight. If I delcare some other page in my configure.php ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#41
| |||
| |||
| I just want to make sure I am getting this straight. If I delcare some other page in my configure.php files to be the HTTP:// root, then my pages should get all wacky, right? so if I change Code: define('HTTP_SERVER', 'http://www.brunsflooringsupply.com');
define('HTTPS_SERVER', 'https://www.brunsflooringsupply.com');
define('ENABLE_SSL', true);
Code: define('HTTP_SERVER', 'http://ohwhataworld.com');
define('HTTPS_SERVER', 'https://ohwhataworld.com');
define('ENABLE_SSL', true);
Because when I do this, NOTHING CHANGES!! I wonder if my server could be caching pages or something? I'm on a shared web host and I can't see why this would not be working. Kyle |
| Sponsored Links | ||
| ||
|
#42
| ||||
| ||||
| Do you have the cache turned off in the admin section? If so, it is most likely being cached by your server or an intermediate along the way. You should put nocache tags in the head section of your pages. It could take a while for the cached to clear...
__________________ Michael Sasek osCMax Developer
|
|
#43
| |||
| |||
| nope, caching is not turned on. Though as I am changing thigs, I am noticing some interesting problems. If I manually set one of my links to SSL: Code: tep_href_link(FILENAME_DEFAULT, '', 'SSL') http://brunsflooringsupply.com/admin...dmin/index.php but another link on the same page comes up with the URL from my configure.php file. |
|
#44
| |||
| |||
| OK, after some palying around with different files, I traced the URL functions to the html_output. There I changed: Code: if ($connection == 'NONSSL') {
$link = HTTP_SERVER . DIR_WS_CATALOG;
} elseif ($connection == 'SSL') {
if (ENABLE_SSL == true) {
$link = HTTPS_SERVER . DIR_WS_CATALOG;
} else {
$link=HTTPS_SERVER . DIR_WS_CATALOG . $connection;
}
} else { die(ect.) }
Code: if ($connection == 'NONSSL') {
$link = HTTP_SERVER . DIR_WS_CATALOG;
} elseif ($connection == 'SSL') {
if (ENABLE_SSL == true) {
$link = HTTPS_SERVER . DIR_WS_CATALOG;
} elseif ($connection == 'NONSSL') {
$link = HTTP_SERVER . DIR_WS_CATALOG;
} else {
$link=HTTPS_SERVER . DIR_WS_CATALOG . $connection;
}
} else { die( ect. ) }
Code: define('ENABLE_SSL', true);
Thank you for your help |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| https:// Admin redirects to http:// | driwashsolutions | osCMax v2 Installation issues | 3 | 01-23-2006 07:41 PM |
| admin login goes https to http??? | john- | osCMax v1.7 Discussion | 2 | 12-23-2003 07:19 AM |