Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL installation problem


mwo

Recommended Posts

Hi all.

 

Why is it that when secure pages are called for, the page opens with my store name like this:

 

"https://maltwhiskyonline.com/maltwhiskyonline.com.index.php"

 

instead of this:

 

"https://maltwhiskyonline.com.index.php"

 

I think all my settings in configure.php is correct.

 

Any help would be gratefully received.

 

Thanks, mwo.

Link to comment
Share on other sites

well, they probably are not. can you post a copy here?

 

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'maltwhiskyonline.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/maltwhiskyonline.com/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/maltwhiskyonline.com/');

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/sites/maltwhiskyonline.com/public_html/');

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

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

 

Thanks, mwo.

Link to comment
Share on other sites

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'maltwhiskyonline.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/maltwhiskyonline.com/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/maltwhiskyonline.com/');

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/sites/maltwhiskyonline.com/public_html/');

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

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

 

Thanks, mwo.

 

 

yes,I see where you are going wrong. Instead of:

 

  define('DIR_WS_HTTPS_CATALOG', '/maltwhiskyonline.com/');

 

you should have I believe:

 

  define('DIR_WS_HTTPS_CATALOG', '');

 

You should only fill this in if the catalog files are in a directory other than the top level, e.g. maltwhiskyonline.com/catalog/index.php. It appears that yours are all in the top level.

 

ATB, Luke

Link to comment
Share on other sites

You also don't have a full ssl certificate. You are using a shared certificate made out to:

 

web20.secure-secure.co.uk

 

Ask your hosts what the shared ssl pathway for your website is.

 

Vger

Link to comment
Share on other sites

If I could make a suggestion. If you have a catalog that you want numerous item indexed by say the googlebot then you may want to consider purchasing a SSL ceritificate. Reason being most Hosting companies will route your ssl catalog thru there internal coding and you lose the benefits. Also consider installing the SEO Contribution and the Google Site map contribution these two are fantastic they got me results within days of install.

Link to comment
Share on other sites

You also don't have a full ssl certificate. You are using a shared certificate made out to:

 

web20.secure-secure.co.uk

 

Ask your hosts what the shared ssl pathway for your website is.

 

Vger

 

Hi. I purchased a full SSL certificate from my host who then said it was installed and ready to use? I don't understand. How do you know it is a shared certificate?

 

Thanks for all your help, i appreciate it.

 

mwo.

Link to comment
Share on other sites

Hi. I purchased a full SSL certificate from my host who then said it was installed and ready to use? I don't understand. How do you know it is a shared certificate?

 

Thanks for all your help, i appreciate it.

 

mwo.

 

I think its because when you access the secure pages of your site, for example the login page, it comes up an alert box saying the certificate belongs to a third patry and therefore may not be entirely secure. The certificate belongs to/is registered to your hosting company and not you direct.

 

If you view the certificate of another SSL site, it is registered to the domain name. Your is registered to web20.secure-secure.co.uk. If you have purchased this certificate from your host, then I would ask them exactly how they have configured this. You should really have your own IP address.

Link to comment
Share on other sites

I think its because when you access the secure pages of your site, for example the login page, it comes up an alert box saying the certificate belongs to a third patry and therefore may not be entirely secure. The certificate belongs to/is registered to your hosting company and not you direct.

 

If you view the certificate of another SSL site, it is registered to the domain name. Your is registered to web20.secure-secure.co.uk. If you have purchased this certificate from your host, then I would ask them exactly how they have configured this. You should really have your own IP address.

 

 

Hi. I have been in touch with my host and they say it is a full cert registered to my domain name. My problem was due to apparantly missing out the "www." qualifier in my configure file i.e. my SSL cert was applied to "www.maltwhiskyonline.com" and not just "maltwhiskyonline.om".

 

Hopefully it is resolved now but i would appreciate it if anybody would be able to visit the site and check if possible.

 

Thanks, mwo.

Link to comment
Share on other sites

Sorry about this but my admin area is still showing as "not protected by ssl". Hopefully just a quick configure.php change.

 

Here is the admin configure.php code:

 

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

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'maltwhiskyonline.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/maltwhiskyonline.com/');

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/sites/maltwhiskyonline.com/public_html/');

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

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

 

Thanks again, mwo.

Link to comment
Share on other sites

Sorry! That was my catalog configure.php code!!

 

Here is my admin code:

 

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

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

define('HTTPS_CATALOG_SERVER', 'https://www.maltwhiskyonline.com');

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

define('DIR_FS_DOCUMENT_ROOT', '/home/sites/maltwhiskyonline.com/public_html/admin/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/home/sites/maltwhiskyonline.com/public_html/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/home/sites/maltwhiskyonline.com/public_html/admin/'); // 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/');

 

Thanks, mwo.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...