Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with ssl configuration - page not found errors


nsatech

Recommended Posts

Posted

I am trying to configure ssl to work for my site. The certificate was recently installed on the server. They have made a 'secure' folder in the root directory of the web server. Apparently, that secure folder is where i am supposed to point the cart to.

 

Am I supposed to copy the 'catalog' folder into it (the 'secure' folder)?

 

 

Here is a copy of my current configuration.php file (i have tried playing around with it to no avail):

 

 

 

// Define the webserver and path parameters

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

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

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

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

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

define('HTTP_COOKIE_DOMAIN', 'www.suziwreck.com.au');

define('HTTPS_COOKIE_DOMAIN', 'www.suziwreck.com.au/secure');

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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/pi/65/suziweb/www.suziwreck.com.au/public_html/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

 

Now, here's my problem:

 

- if i type: https://www.suziwreck.com.au/catalog, i get a "The requested URL /catalog was not found on this server."

 

- if i type: http://www.suziwreck.com.au/, i can view the normal site, but when i go to checkout, i get a "The requested URL /secure/catalog/checkout_shipping.php was not found on this server."

 

 

 

 

what to do? I have succesfully setup secure certificates on osc before, but none have been a 'secure' folder in the server. this is quite urgent, Please help.

 

 

thanks,

Posted

Ask your host to make a symbolic link to your http_docs directory from the secure.

 

If they dont know how, find another host! :P

 

Matti

Archived

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

×
×
  • Create New...