SSL can be an issue, especially if you use the same IP for all your domain because SSL need an unique IP for each domains. It means that your server setting has to even more complicated...
Another solution can be to use common DNS for all the SLLs and to use a different subfolder in order to change them.
As for the MultiSite configuration, it requires a bit of extra code.
Just take the case of the use of
www.secure-payment.com as DNS ...
includes/config_sites/www.secure-payment.com_config.php has to contain:
Code:
<?php
$location = explode('/',$_SERVER['REQUEST_URI']);
switch($location[1]) {
case 'site1':
include('includes/config_sites/www.site1.com_config.php');
break;
case 'site2':
include('includes/config_sites/www.site2.com_config.php');
break;
case 'site3':
include('includes/config_sites/www.site3.com_config.php');
break;
}
unset($location);
?>
Then in the config files of each site, you have to write:
Code:
define('DIR_WS_HTTPS_CATALOG','/site1/');
define('HTTPS_SERVER', "https://www.secure-payment.com");
Code to add in the beginning of .htaccess:
Code:
RewriteCond %{HTTP_HOST} ^www.secure-payment.com$
RewriteRule ^site1/(.*)$ /zencart_folder/$1 [L]
RewriteCond %{HTTP_HOST} ^www.secure-payment.com$
RewriteRule ^site2/(.*)$ /zencart_folder/$1 [L]
This will make the SLL of all your sites like:
https://www.secure-payment.com/site1/
https://www.secure-payment.com/site2/
Bookmarks