Jump to content

Recommended Posts

Posted

Despite working with osCommerce on a daily basis, I've never needed to set up a store with SSL before as my clients tend to use Paypal, Worldpay etc.

 

I now have a client who requires SSL and I'm having no luck in getting it to play the game - I'm sure it's something simple, but I just can't see it - wonder if anyone here might have an idea as to what's going on?

 

First of all, the site is hosted within my reseller account, and as it's not possible to use the main TCH shared SSL from within reseller accounts, I purchased a SSL cert of my own (under my site name of vengavenga.com) to be used by any of my clients who need it.

 

The ticket confirming that it had all been set up said ..

 

"Your SSL cert has now been installed. You can access the SSL site by using:

 

https://www.vengavenga.com/

Or for your users:

https://www.vengavenga.com/~USERNAME/"

 

In osCommerce, I've tried modifying the configure.php files a couple of ways ...

 

1)

>define('HTTP_SERVER', 'http://www.faketanning.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.faketanning.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.vengavenga.com/~username/');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/username/public_html/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/username/public_html/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');

etc etc

 

That doesn't work as /catalog/ is required.

 

2) Changing

>define('HTTPS_CATALOG_SERVER', 'https://www.vengavenga.com/~username/');

to

>define('HTTPS_CATALOG_SERVER', 'https://www.vengavenga.com/~username/catalog/');

 

works, but no images are displayed once the user goes into the secure checkout.

 

Don't know enough about SSL unfortunately :rolleyes: ... any ideas?

 

Cheers,

 

Ali.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...