Hello!
I've installed Magento CE 2.2.4 on my machine for testing proposes under /var/www/html/magento folder. When I try to access other web applications on parallel folders it redirects to http://localhost/ with magento 404 error page. How can I solve it?
Hi @TPrigas
You need to access other application by passing their directories name after the localhost.
lets say one of your application is in var/www/html/test directory then in the url you also need to pass like : http://localhost/test
so - after that you will not get 404 page on the same.
or else let me know where you have puted your other application ? like you are running magento 2 by passing magento in the url - same way pass for other application as well
Hope it helps
Hello @Manthan Dave,
It happens exactly when a try to access the other application (by http://localhost/shop_2). It returns 404 error in magento at http://localhost/
I'm able to access the other application by http://127.0.0.1/shop_2 but not with http://localhost/shop_2. I believe there must be some redirect misconfiguration in magento about base_url. Tried to change it in shops > configuration > general > web by setting base_url to http://localhost/magento but it shows the same error (404)