Showing results for 
Search instead for 
Did you mean: 

Api Problem After create a multistore in

Api Problem After create a multistore in

I've created a multistore in and the only way to get it run is to modify the Index.php as Follow:

switch($_SERVER['HTTP_HOST']) { case '': $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'shopcode'; $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'website'; break; case '': $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : neueshopcode´; $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'website'; break; }

Thats Great but - a Tool which i Need to work has no Connection to the store After i modified the file.

If i Check my URL

It shows the following Error:



Unable to read request

Can anyone help me?