Jump to content



Latest News: (loading..)

* * * * * 13 votes

How to install SSL on OSC: A Simple 1-2-3 Instruction


  • Please log in to reply
485 replies to this topic

#481   Tpojka

Tpojka
  • Members
  • 8 posts
  • Real Name:Goran Grbic

Posted 15 June 2012 - 09:27 PM

You're miracle maker. Yesterday and today I've tried to set it. And now, I don't know why wasn't set up already.
Thank you. Can you point me to topic where I could read of redirecting/staying on pages with https:// prefix in url?
Thank you very much.

#482   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 15 June 2012 - 09:35 PM

Having the shop SSL all the time isn't a good idea.

Osc is setup to use SSL on only the pages that need it.

You should leave it that way,
:)
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#483   jortiz107

jortiz107
  • Members
  • 1 posts
  • Real Name:Jay Ortiz

Posted 27 June 2012 - 06:05 PM

Great help thanks a lot!

I have a little problem: i installed many sites on the same server, the main site has SSL, now the other sites admin console send me to the main site when i click on any of the links instead of the proper site.
Am i missing something?

Please help.

#484   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 27 June 2012 - 08:45 PM

LInks are constructed by data in the /admin/includes/configure.php (or /admin/includes/local/configure.php if it is present).

Links can be modified by any active .htaccess file(s) or active redirects in your web host cPanel.

Now you know where to look.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#485   Spionred

Spionred
  • Members
  • 12 posts
  • Real Name:Kevin Preston

Posted 04 December 2012 - 06:08 AM

Hi,

Can you please help regarding SSL/Cookies. I have inherited a site cortaflex.co.nz build on OsCommerce. we move the everything over to our server (reseller account with hostgator) which has a shared SSL enabled.

I have spent 2 days trawling through the forums and non of the suggestions work, even your instructions.

I have tried both SSL and forcing cookies but nothing.

The main problem I have is when a customer adds to a cart and goes straight to the shopping cart then once signed in (which loses all the styling btw) they go to the hosted payment gateway. Once the payment is complete the transaction is lost and they are asked to log back in. There is no record of the order in the system but the client has been charged.

I think this is related to a lesser evil problem where you simply add to your cart, then from there click view card and the session is lost and the cart is empty.

Can you please help.

The current config is below:

  define('HTTP_SERVER', 'http://www.cortaflex.co.nz/'); // eg, http://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://secure187.websitewelcome.com/~wwwcorta/'); // eg, https://localhost - should not be empty for productive servers
  define('ENABLE_SSL', true); // secure webserver for checkout procedure?
  define('HTTP_COOKIE_DOMAIN', '.cortaflex.co.nz/');
  define('HTTPS_COOKIE_DOMAIN', '.secure187.websitewelcome.com/~wwwcorta/');
  define('HTTP_COOKIE_PATH', 'catalog/');
  define('HTTPS_COOKIE_PATH', 'catalog/');
  define('DIR_WS_HTTP_CATALOG', 'catalog/');
  define('DIR_WS_HTTPS_CATALOG', 'catalog/');
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_INCLUDES', 'includes/');
  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/');

Cheers,
Kevin.

#486   Heatherbell

Heatherbell
  • Members
  • 36 posts
  • Real Name:Heather Bell

Posted 28 February 2013 - 06:17 PM

We have just purchased SSL. Our website lay within a 'htdocs' folder. The host has made another 'htdocs_secure' folder and has copied our website into it. We made the changes to the configure.php files as instructed in this thread but the https pages were not found. Are we entering the wrong thing in HTTPS SERVER? Any help is appreciated, we are new to this.