Skip to main content
17 events
when toggle format what by license comment
Nov 24, 2021 at 8:15 vote accept Rohan Hapani
Nov 24, 2021 at 7:42 answer added Baharuni Asif timeline score: 1
S Mar 6, 2021 at 12:04 history suggested djm.im CC BY-SA 4.0
Should appreciate answers by upvotes and mark an answer as accepted
Mar 6, 2021 at 10:14 review Suggested edits
S Mar 6, 2021 at 12:04
Feb 18, 2021 at 9:45 answer added Diana timeline score: 0
Feb 18, 2021 at 8:58 comment added Diana You're most welcome! Glad I could help :)
Feb 18, 2021 at 3:13 comment added Rohan Hapani Thanks !! @DianaBotean I create virtual host for this single instance and now my all magento running properly :) I added solution as answer.
Feb 18, 2021 at 3:12 answer added Rohan Hapani timeline score: 10
Feb 17, 2021 at 16:01 comment added Diana As discussed over chat, the Magento instance m2.4.2-ee you mentioned in this question is working now by following the instructions regarding requests serving the app from project root of your Magento installation. But as mentioned in the chat, due to the fact that you are serving multiple instances of Magento without separate virtual hosts, your problem is now the fact that the other instances don't work. I suggest you edit your initial post and add these new details. I still recommend you use separate vhosts for each m2 instance :) Good luck!
Feb 17, 2021 at 14:50 comment added Diana Let us continue this discussion in chat.
Feb 17, 2021 at 14:48 comment added Rohan Hapani If I apply this configuration, then it's working perfect.!! But, rest of all magento instance return 404 :D
Feb 17, 2021 at 14:32 comment added Diana in case you want to serve the requests directly from the project root, then you should remove ` 'document_root_is_pub' => true` from app/etc/env.php and update your webserver's documentroot / root section (depending whether you are using apache or nginx)
Feb 17, 2021 at 14:28 comment added Rohan Hapani If i want to set base url from root instead of pub then, what should I need to change?
Feb 17, 2021 at 14:22 comment added Diana yep, it's about the settings mentioned here: devdocs.magento.com/guides/v2.4/install-gde/tutorials/… where you would serve the Magento requests from the project base folder OR the pub/ folder which is found under the project base folder.
Feb 17, 2021 at 14:19 comment added Rohan Hapani Not getting your point. Could you please elaborate more?
Feb 17, 2021 at 14:18 comment added Diana can you please confirm that your document root settings from app/etc/env.php match those from the webserver level? like both are set to serve the app from 'pub' or the base folder, otherwise, but there isn't a mismatch between the two.
Feb 17, 2021 at 14:15 history asked Rohan Hapani CC BY-SA 4.0