I am trying to set up a second store based on a single magento installation. I have created the website, store, and store view as indicated in http://www.magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup
But when I visit my second store (using its own URL), I end up on the home page of my first store.
I have modified the .htaccess and httpd.conf, cleared the cache and restarted apache, as advised in the tutorial
Can you help me please ?
EDIT:
My changes to .htaccess:
SetEnvIf Host www\.broum-utilitaires\.com MAGE_RUN_CODE=broum_utilitaires
SetEnvIf Host www\.broum-utilitaires\.com MAGE_RUN_TYPE=website
SetEnvIf Host ^broum-utilitaires\.com MAGE_RUN_CODE=broum_utilitaires
SetEnvIf Host ^broum-utilitaires\.com MAGE_RUN_TYPE=website
SetEnvIf Host www\.broum-utilitaire\.fr MAGE_RUN_CODE=broum_vintage
SetEnvIf Host www\.broum-utilitaire\.fr MAGE_RUN_TYPE=website
SetEnvIf Host ^broum-utilitaire\.fr MAGE_RUN_CODE=broum_vintage
SetEnvIf Host ^broum-utilitaire\.fr MAGE_RUN_TYPE=website
My httpd.conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName broum-utilitaires.com
DocumentRoot /var/www/broum
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName broum-utilitaire.fr
DocumentRoot /var/www/broum
</VirtualHost>
index.php
justvar_dump($_SERVER);
and see if yourMAGE_RUN_CODE
is set.