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 have read some threads but I'm still a little unclear about how to set the pages to switch to ...


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
  #1  
Old 12-22-2002, 06:35 AM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 212
Thanks: 10
Thanked 26 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default setup guide for http to https?

I have read some threads but I'm still a little unclear about how to set the pages to switch to https for my data critical pages. Can you give me some guidance? Also, something has happened to where it is not displaying properly. You can see what I mean at https://driedflowersrus.com/catalog/login.php

Thanks for your help.

JW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-22-2002, 07:21 AM
Member
 
Join Date: Nov 2002
Location: Pennsylvania
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
|3ackdraft
Default

Ok, for starters, it switches to the https server, i get the notice that it is not a trusted source. basically means that the secure certificate was not issued from a company that has verified this is you.

examples: Thawte or Verisign.

As for the images, check your config file. it is calling the images for the following url: https://localhost/catalog/images/header_DFRUflower.gif

in the config file locate this line:
Code:
define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be NULL for productive servers
change the localhost to the url of the secure server which currently is
Code:
https://driedflowersrus.com
other than what I explained, I am unclear as to what your question is.
also check with your hosting company, they should be able to help you set your secure server and certificate
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-22-2002, 07:30 AM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 212
Thanks: 10
Thanked 26 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default

Thank you for answering my post. I understand about the certificate, but I don't know if I will purchase a certificate, I just want it secure. Also, I have done that part in the code you referred to. But, how do I make it switch from the http pages for the normal catalog to https for "my account", "login", and "checkout". Those are the only pages I'm concerned with.

Did it display okay when you were in the https pages?

Thanks,
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-22-2002, 07:46 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,492
Thanks: 73
Thanked 334 Times in 313 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

It automatically does the switch if you enable "https" in the configure.php file. There is nothing else to do.

If you have this set in configure.php the switch to https and back is automatic. There is nothing else you have to do.

Find this line:

Code:
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
Switch it to true, set the correct https server and that is all you need to do. The script should do the rest...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

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

  • 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!
  #5  
Old 12-22-2002, 07:58 AM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 212
Thanks: 10
Thanked 26 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default

I've done that, but it doesn't make the switch to https. Here is my configure.php. Am I missing something that is right in front of me?

Can you look at this page and tell me why you think it's dispalying the way it is? https://driedflowersrus.com/catalog/...ut_payment.php


// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'HTTP://www.driedflowersrus.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'HTTPS://www.driedflowersrus.com'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_WS_IMAGES', '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/');

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', ''); // eg, localhost - should not be NULL for productive servers
define('DB_SERVER_USERNAME', 'mysql');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'catalog');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-22-2002, 09:01 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,492
Thanks: 73
Thanked 334 Times in 313 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

There are two configure.php files that need to be set. This looks like the configure.php in /admin/includes. Have you set this in both the /catalog/includes/configure.php as well? It needs to be set there too.

One other thing, although I dont think it makes a difference, use lowercase http and https in the urls that define your http and https server.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

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

  • 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!
  #7  
Old 12-22-2002, 03:01 PM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 212
Thanks: 10
Thanked 26 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default

Oh! I did not realize there were two. Actually, this one is Catalog/includes.

I shall proceed to work admin/includes

If I donate to OSCdox, who gets the money?

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-22-2002, 03:10 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,492
Thanks: 73
Thanked 334 Times in 313 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

Let me know what results you get.

Also, if you donate to OSCdox, I get the donation. It goes to offset the hosting fees, bandwidth, software licensing and encourages me to keep on doing this!

Any donation is greatly appreciated. Heck, I am just happy to hear you would consider it!
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

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

  • 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!
  #9  
Old 12-22-2002, 03:12 PM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 212
Thanks: 10
Thanked 26 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default

I'll work on the file and hell yea, I think you deserve it. You have been very helpful.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-22-2002, 03:20 PM
osCMax Testing Team
 
Join Date: Nov 2002
Location: Orlando
Posts: 212
Thanks: 10
Thanked 26 Times in 14 Posts
Rep Power: 7
JohnW will become famous soon enoughJohnW will become famous soon enough
Default

Okay, two questions. First, is it supposed to go to synergytistic health?

Second, why do you think my dispaly is showing up the way it is? Look at https://driedflowersrus.com/catalog/login.php

Let me know on both and I will do that tonight.

JW
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 06:41 PM
admin login goes https to http??? john- osCMax v1.7 Discussion 2 12-23-2003 06:19 AM


All times are GMT -8. The time now is 06:57 AM.


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