Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared SSL - Configure.php is not working. All the pages fall in HTTPS...


alexandreamiranda

Recommended Posts

Hi.

Sorry for my English and sorry if this is a double post. I've been searching for a long time in this forum, looking for an answer and I've found many people having troubles with configure.php and HTTP/HTTPS problems, but I didn't find anyone with THIS specific problem. When I enter in my site, all the links are set to use the HTTPS (what I dislike!). I want to use HTTPS only in the checkout pages. If I put anything in HTTPS_SERVER (define), unfortunately, all the website will use it.

I have the configure.php like this:

 

<?php

 

define('MOSTRA_VALOR', 0);

define('HTTP_SERVER','http://www.nsf.ind.br'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER','https://www.linkshop.com.br'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL',true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN','nsf.ind.br');

define('HTTPS_COOKIE_DOMAIN','nsf.ind.br');

define('HTTP_COOKIE_PATH','/loja/');

define('HTTPS_COOKIE_PATH','/loja/');

define('HTTP_CATALOG_SERVER','http://www.nsf.ind.br/loja');

define('HTTPS_CATALOG_SERVER','https://www.linkshop.com.br/nsf/loja');

 

define('DIR_WS_HTTP_CATALOG','/loja/');//se precisar colocar assim /http/loja/

define('DIR_WS_HTTPS_CATALOG','/loja/');

define('DIR_WS_CATALOG', '/loja/');

//...

?>

 

 

Because my SSL is shared, I've already setup "forced cookies" to false (using a sessionID in URL now).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...