Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Configuration


Guest

Recommended Posts

Posted

New here and having problems on setting up my SSL certificate

 

https://www.pureaswater.net

 

I keep getting this error message when going to checkout 404 file not found.

 

My webhosting onewebhosting.com splits the public area and secure area into two directories httpdocs and httpsdocs.

 

can someone lend some advice on what direction to take, thanks.

 

 

  define('HTTP_SERVER', 'http://www.pureaswater.net'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.pureaswater.net'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.pureaswater.net');
 define('HTTPS_COOKIE_DOMAIN', 'www.pureaswater.net');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 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/httpd/vhosts/pureaswater.net/httpdocs/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '***');
 define('DB_SERVER_PASSWORD', '***');
 define('DB_DATABASE', ****);
 define('USE_PCONNECT', 'true'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

Thanks for the help in advance.

Posted

define('USE_PCONNECT', 'false');

 

As you have decided to host with one of those hosting companies that uses this c**p system of httpdocs and httpsdocs - you will have to duplicate all of your site in the httpsdocs folder.

 

Vger

Posted
define('USE_PCONNECT', 'false');

 

As you have decided to host with one of those hosting companies that uses this c**p system of httpdocs and httpsdocs - you will have to duplicate all of your site in the httpsdocs folder.

 

Vger

 

 

Can you recommend another hosting site that uses a correct setup, and also can I move my certificate when i move my site or will i have to pay $$$ again.

 

thanks for all your help it is appreciated.

Posted

Can't recommend companies on the forum, not allowed. Whether you can move your ssl cert will depend if you move to the same type of server - as you have to state which type of server it is for when you purchase the ssl. Some companies which issue ssl certs do allow free reissue of the ssl cert, so even if the server is of a different type you may still be able to change it. I know that GeoTrust allows for this.

 

Vger

Can you recommend another hosting site that uses a correct setup, and also can I move my certificate when i move my site or will i have to pay $$$ again.

 

thanks for all your help it is appreciated.

Archived

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

×
×
  • Create New...