Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with SSL required...


hetul

Recommended Posts

Hello,

 

I would like to get a bit of assistance with the Setting up SSL on my Oscommerce.

 

I asked my hosted for the path for SSL and this is what I would given:

 

https://securestore.myhoster.com/myshop/

 

I have edited the catalog/inculde/configuration file in the following manner:

 

define('HTTP_SERVER', 'http://www.myshop.com');

define('HTTPS_SERVER', 'https://securestore.myhoster.com/myshop/');

define('ENABLE_SSL', true);

 

I have made similar changes in the Admin/include/configuration files as well.

 

now,

 

when i click on the Create New User link on the main page, it takes me to:

 

https://securestore.myhoster.com/myshop/create_account.php

 

Ofcoure, there is no file at that location and so it gives me 404 error.

 

My guess is that it should be just:

 

https://www.myshop.com/create_account.php

 

 

What am I doing wrong? Any assiatance will be appreciated.

 

Sorry, about my limited knowledge with this. :(

 

thanks

Hetul

Link to comment
Share on other sites

I would try something like this:

 

  define('HTTP_SERVER', 'http://www.myshop.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://securestore.myhoster.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.myshop.com');
 define('HTTPS_COOKIE_DOMAIN', 'securestore.myhoster.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/myshop/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/myshop/catalog/');

 

If your installation is in the root directory (no 'catalog' directory) remove all instances of catalog/ (exactly!).

 

Matti

Link to comment
Share on other sites

Hello Johnson,

 

Thanks for the reply.

 

I did the changes as you mentioned. However, I still get the following error code:

 

Not Found

The requested URL /myshop/catalog/create_account.php was not found on this server.

 

THE URL on the browser shows:

 

https://securestore.myhoster.com/myshop/cat...bf2a90fa6d1615a

 

shouldnt this be:

 

https://www.myshop.com/catalog/create_accou...bf2a90fa6d1615a

 

and yes, I do have the 'catalog' directory.

 

Am I missing out on something?

 

Thanks

hk

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...