Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shared SSL and Configure.php


Guest

Recommended Posts

I'm having an issue with my shared ssl and I can't figure out what it is. When a customer goes to account or checkout I get a "The page cannot be found" for my login.php. The shared SSL seems to be working ok because I get padlock indicating that it's secure. Interestingly enough if I disable the SSL by setting it to false I can access the account or Check out.

 

Any help would be greatly appreciated. I've been working on this for almost a month and would like to get it rolled out soon.

 

I've posted my configure.php for both the includes and the admin includes below.

 

my includes/configure.php is

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

define('HTTPS_SERVER', 'https://66.103.238.210/smellypens-com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '.smellypens.com');

define('HTTPS_COOKIE_DOMAIN', '66.103.238.210/smellypens-com');

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

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

define('DIR_WS_HTTP_CATALOG', '/shop/');

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

 

and my admin/includes/configure.php is

 

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

define('HTTP_CATALOG_SERVER', 'http://www.smellypens.com');

define('HTTPS_CATALOG_SERVER', 'https://66.103.238.210/smellypens-com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', 'Shop/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/shop/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/Shop/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/shop/'); // absolute path required

define('DIR_FS_CATALOG', '/Shop/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

Link to comment
Share on other sites

define('HTTPS_COOKIE_DOMAIN', '66.103.238.210');

define('HTTPS_COOKIE_PATH', '/smellypens-com/shop/');

 

define('DIR_FS_DOCUMENT_ROOT', '/full_path_to_root_here/shop/');

 

define('DIR_FS_ADMIN', '/full_path_to_root_here/shop/admin/');

define('DIR_FS_CATALOG', '/full_path_to_root_here/shop/');

 

It also looks like you have two-folder system - one for httpdocs and another one for httpsdocs - which is why your https pages get a 404 Not Found error.

 

Stick to 'shop' and not 'Shop'

 

Vger

Link to comment
Share on other sites

Is there any way to fix this two-folder issue on my system?

 

Also I took a look at my shared ssl and it's SSL Physical Path: D:\Domains\smellypens.com\Secure

The part I don't understand is that I don't utilize a folder called Secure. Could this be causing the problem

 

BTW: If you can't tell already...I'm learning all this by trial and error. I've been cruising thru the forums for months trying to do this myself. Any and all help is appreciated.

Link to comment
Share on other sites

I figured out what you meant by 2 folders...it just took a little more brain power. Everthing is running ok now.

 

Ques: If I had my webhosting service point my SSL Physical Path: from:D:\Domains\smellypens.com\Secure to D:\Domains\smellypens.com\root\shop...would that allow me to skip from having to update both sets of folders whenever I make any changes or does this cause a security issue.

 

Jon

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...