Reply to comment

frank's picture
frank (visitor) - Fri, 21/05/2010 - 09:29:

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

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options