Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to configure Shared SSL Folder?


Yuck

Recommended Posts

Hi,

I have shared SSL with Fasthosts in the UK. When viewing in my FTP client I see the following:

 

 

bazanjo.com --> /htdocs --> store files/folders here

SSL Folder (bazanjo) --> /store files/folders here

 

 

I was told in another thread that because of the shared layout of my SSL that I would need to copy the whole of my site over. This I have done as shown above. My store is in the root, so I replicated all the store setup in the SSL root folder. I have also confirmed that my SSL folder is https://vault2.secured-url.com/bazanjo

 

my \includes\configure.php looks like this:

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.bazanjo.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://vault2.secured-url.com/bazanjo/'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '.www.bazanjo.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_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/fhlinux195/b/bazanjo.com/user/htdocs/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

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

 

and heres the /admin/includes/configure.php...

 

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.bazanjo.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.bazanjo.com');
 define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com/bazanjo/');
 define('ENABLE_SSL_CATALOG', true); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/fhlinux195/b/bazanjo.com/user/htdocs/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/fhlinux195/b/bazanjo.com/user/htdocs/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/fhlinux195/b/bazanjo.com/user/htdocs/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'ipaddress here'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'username');
 define('DB_SERVER_PASSWORD', 'password');
 define('DB_DATABASE', 'databasename');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

The store works fine until I need to go to a secure page, logon or checkout for example, when I get "HTTP 500 Internal Server Error" "The page cannot be displayed". A bit of a show stopper :)

 

Any help really would be appreciated as once this error is fixed I'm ready to go live. To get this far has taken a lot of hours because everything is new to me, and my wife wants her husband back :)

 

Thanks.

Link to comment
Share on other sites

Three possibilities if you wish to spend more time with your wife.

 

1. Try this:

 

define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com/~bazanjo/');

 

2. You can always ask 'Xtremely Useless Support' (trade nickname for your hosting support)

 

3. You can find a hosting company that knows what they're doing.

 

Vger

Link to comment
Share on other sites

Thanks for the response.

I tried point 1, still the same.

So now with point 2, the support guy said there was an acl login? THeir problem and they are sorting it. If that doesn't fix it then I'll be back on to them.

As for point 3 are you allowed to make suggestions for good UK hostong here? If so I'd love to hear.

 

I didn't say I wanted to spend more time with my wife, I said she wants her husband back. Subtle but important difference :)

 

I off to buy more stock so I'll try this again in a few hours.

 

Cheers :thumbsup:

Link to comment
Share on other sites

Vger's #3 option is your best one :thumbsup:

 

Additionally, you really ought to think about getting your own ssl certificate.

You'll be providing your customers more trust if you do

Link to comment
Share on other sites

OK, they have now "fixed" the problem.

Now there is a new one:

"FATAL ERROR: register_globals is disabled in php.ini, please enable it!"

 

I've spoken to their support, who tell me that although I have Linux hosting my SSL is on Windows!

 

Is there any way to get this working?

I suspect not.

 

So I'm up for any suggestions on hosting that works properly, with OSC, in the UK.

 

Thanks.

 

/edit

Zen supply my ADSL, anyone know if they are any good at hosting?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...