Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Masking a URL with a Shared SSL


sinkers

Recommended Posts

Posted

I have a shared certificate - all works well

 

However when one goes into the secure part of the site the URL shows the name of the location of the SSL rather than my shop name. Is there any way of masking that?

 

So, when one creates an account, I would like the URL to show https://myshop.com/store/create_account.php and not https://mysecuresite.com/~myshop/catalogue&...ate_account.php

 

Can it be done?

 

Here is part of the configure.php

 

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'catalogue.myshop.com');

define('HTTPS_COOKIE_DOMAIN', 'catalogue.myshop.com');

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

 

Thanks

 

Sinkers

Posted
I have a shared certificate - all works well

 

However when one goes into the secure part of the site the URL shows the name of the location of the SSL rather than my shop name. Is there any way of masking that?

 

So, when one creates an account, I would like the URL to show https://myshop.com/store/create_account.php and not https://mysecuresite.com/~myshop/catalogue&...ate_account.php

 

Can it be done?

Nope.

 

The shared ssl address is a completely different url. As far as your browser is concerned it's a different site.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

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

×
×
  • Create New...