This is a discussion on How do you make all pages secure? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; my catalog/admin page is secure but every page underneath it isn't. In other words when I click on the configuration ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| my catalog/admin page is secure but every page underneath it isn't. In other words when I click on the configuration link, it takes me to an http:// page instead of an https:// page. I can add the s afterwords, but how do I have it go to the https page in the first place? I thought the links were hard coded but when I look at the index.php page it shows this: 'children' => array(array('title' => BOX_CONFIGURATION_MYSTORE, 'link' => tep_href_link(FILENAME_CONFIGURATION, 'selected_box=configuration&gID=1')), now I found a reference to tep_href_link in the catalog/admin/include/functions/html_output.php file that says: function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL') { if ($page == '') { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>Function used:<br><br>tep_href_link(\'' . $page . '\', \'' . $parameters . '\', \'' . $connection . '\')</b>'); } if ($connection == 'NONSSL') { $link = HTTP_SERVER . DIR_WS_ADMIN; } elseif ($connection == 'SSL') { if (ENABLE_SSL == 'true') { $link = HTTPS_SERVER . DIR_WS_ADMIN; } else { $link = HTTP_SERVER . DIR_WS_ADMIN; } This to seems to mean to me that I need to enable ssl somewhere but where? Steve Cohen |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| admin/includes/configure.php have a look at these: I set all of mine to the secure server for the individual site. Code: define('HTTP_SERVER', 'https://yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'https://yourdomain.com');
define('HTTPS_CATALOG_SERVER', 'https://yourdomain.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do i make an infobox hidden on some pages but not all? | technoboy | osCMax v2 Customization/Mods | 2 | 03-02-2006 01:43 AM |
| Suppressing link xchange banners on secure pages | ianmel | osCommerce 2.2 Modification Help | 1 | 05-25-2004 05:06 AM |
| Secure Catalog pages | Skidude | osCommerce 2.2 Modification Help | 10 | 11-17-2003 06:57 AM |
| Secure Catalog Pages | ishann | osCommerce 2.2 Modification Help | 0 | 08-22-2003 03:25 AM |
| Whats the best way to make and add new pages | Dutchy | osCommerce 2.2 Modification Help | 2 | 01-10-2003 11:34 AM |