Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared Ssl Path


bytepowered

Recommended Posts

Hi, newb here,

 

I seem to be having problems with my shared ssl path.

Customer login form shows secure with the correct path. When I click to login, the path is incorrect and tries to return me to the catalog index. Of course I get a 404 because the path is wrong. I tried to correct this in the config files but no joy.

 

Does anyone have a suggestion on how shared ssl crt should be setup in the configuration files?

 

catalog path: /home/user/public_html/bps/

 

shared crt: https://host-domain.com/~user/

 

catalog/includes/confiuration.php:

define('ENABLE_SSL', true);
define('HTTPS_COOKIE_DOMAIN', 'mydomain.org');  //Should this be virtual or absolute?
define('DIR_WS_HTTPS_CATALOG', '/~user/bps/');

 

admin/includes/configuration.php:

define('HTTPS_CATALOG_SERVER', 'https://host-domain.com/~user/');
define('ENABLE_SSL_CATALOG', 'true');

 

TIA

Link to comment
Share on other sites

Hi,

 

I came across your post, looking for a solution to a similar problem, only I got an incorrect path one step before (customer login, my account, checkout). I'm fairly new to OS, so i'll just post parts from the corrected catalog/includes/confiuration.php:

 

define('HTTP_SERVER', 'http://www.venus-pinups.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.webpack.de/'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTPS_COOKIE_PATH', '/shop/cookies');
 define('DIR_WS_HTTPS_CATALOG', 'venus-pinups.com/shop/');

 

 

My problem resulted from a missing / after venus-pinups.com/shop/, but since that is not your problem: Could it be that you define (I mean in catalog/includes/configuration.php your https_server as 'https://host-domain.com/~user/' and your 'DIR_WS_HTTPS_CATALOG' as '/~user/bps/', so you get /~user/~user/ ?

 

The venus-pinups.com ist just the folder name like ~user.

 

Good Luck, Dorrit

Link to comment
Share on other sites

Also note with shared ssl You need force cookies to be false.

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 1 month later...

dorrit,

Thanks for the reply. That was the problem it was using ~user/bps/ which is the same directory pointed to in configure.php. So the url was coming up ~user/~user/.

 

satish,

Thanks, cookies set to false.

 

I take back everything I was thinking about this forum. ;)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...