I have three website to be uploaded on single server. The server admin has set it up as.
1) The main website to be put on root folder 2) two subfolders are made in which i have to put other two websites.
Domains have been redirected accordingly to subfolders. Now i have added following line of code into the htaccess file
## DirectoryIndex index.html index.php
SetEnvIf Host .*test1.* MAGE_RUN_CODE=safety
SetEnvIf Host .*test1.* MAGE_RUN_TYPE=store
SetEnvIf Host .*test2.* MAGE_RUN_CODE=onestop
SetEnvIf Host .*test2.* MAGE_RUN_TYPE=store
SetEnvIf Host .*test3.* MAGE_RUN_CODE=royalview
SetEnvIf Host .*test3.* MAGE_RUN_TYPE=store
I uploaded this htaccess to the root folder. It is automatically directing it to the sub folders.
Now the problem is when I installed websites test2 and test3. It’s not working properly. In test1 it is not loading the CSS. When I try to access CSS file directly it’s giving me 500 Internal Server Error
Same is with test3. Here the CSS is loading but images aren't. It’s giving the same error while accessing directly.
I have set proper permissions for all folders and files, so there is no issue with permissions.
I think there is an issue with htaccess.
Can anyone guide me through this?