Hi ,
I have the problem like this(my service: debian+apache2+php5.26+...): and i am going to set different website to the same bacekend but with different IPs and SSL.
1,newly installed magento 1.4.0.1 on "domain1.com" with code "base", this domain has IP "IP1"
2,and then am i setup another visul host "domain2.com" , which come with IP "IP2",
3,add new website to the back end with code "domain2"
4,as the expeirence of http://www.crucialwebhost.com/blog/how-to-setup-multiple-magento-stores/, i did copy index.php and .htaccess to the root fold of domain2.com .../domain2/public_html/
5, reate symbolic links to point to the folds of /domain1/public_html/
6,then i add the code to ... /domain2/public_html/.htaccess
and now when i try to access to domain2.com, i got:
app/Mage.php was not found
Here i am totally new to magento, so can you please help to tell me where is the problem ? or did i do not need to step4-6, and only need to add the code to ../domain1/public_html/. htaccess ?
Thank you in advance.
Frank
Reply
Magento is one of the most innovative and complete e-commerce solutions to implement new generation e-Stores.
Hi ,
I have the problem like this(my service: debian+apache2+php5.26+...): and i am going to set different website to the same bacekend but with different IPs and SSL.
1,newly installed magento 1.4.0.1 on "domain1.com" with code "base", this domain has IP "IP1"
2,and then am i setup another visul host "domain2.com" , which come with IP "IP2",
3,add new website to the back end with code "domain2"
4,as the expeirence of http://www.crucialwebhost.com/blog/how-to-setup-multiple-magento-stores/, i did copy index.php and .htaccess to the root fold of domain2.com .../domain2/public_html/
5, reate symbolic links to point to the folds of /domain1/public_html/
6,then i add the code to ... /domain2/public_html/.htaccess
SetEnvIf Host .*domain1.com.* MAGE_RUN_CODE="domain1";
SetEnvIf Host .*domain2.com.* MAGE_RUN_TYPE="domain2"
;
and now when i try to access to domain2.com, i got:
app/Mage.php was not found
Here i am totally new to magento, so can you please help to tell me where is the problem ? or did i do not need to step4-6, and only need to add the code to ../domain1/public_html/. htaccess ?
Thank you in advance.
Frank