osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

setup guide for http to https?

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


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

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #41  
Old 03-14-2003, 04:20 PM
New Member
 
Join Date: Feb 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kyle_bruns
Default

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);
to
Code:
  define('HTTP_SERVER', 'http://ohwhataworld.com'); 
  define('HTTPS_SERVER', 'https://ohwhataworld.com'); 
  define('ENABLE_SSL', true);
then all my links should be messed up, right??
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #42  
Old 03-14-2003, 04:35 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,074
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #43  
Old 03-14-2003, 04:55 PM
New Member
 
Join Date: Feb 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kyle_bruns
Default

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')
the URL comes up with :
http://brunsflooringsupply.com/admin...dmin/index.php
but another link on the same page comes up with the URL from my configure.php file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #44  
Old 03-17-2003, 09:39 AM
New Member
 
Join Date: Feb 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kyle_bruns
Default

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.)  }
to:
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. ) }
and this appeared to solve my issue. Now all the appropriate links have SSL enabled. So my question is this: If the ENABLE_SSL is not true or false, what else could it be. My configure.php is:
Code:
  define('ENABLE_SSL', true);
I am totally confused about what is hanging me up, but I do believe that it has to do with the declaration of ENABLE_SSL, but I don't know how else it could be defined. I know that the links are passing 'SSL', but the ENABLE command that is throwing me.

Thank you for your help
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
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


All times are GMT -8. The time now is 09:45 PM.


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