osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How do you make all pages secure?

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-30-2004, 03:13 PM
Lurker
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
smc13
Default How do you make all pages secure?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 07-31-2004, 05:22 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax