What about this warning from Laravel docs about not installing Laravel in sub directory? Laravel should always be served out of the root of the "web directory" configured for your web server. You should not attempt to serve a Laravel application out of a subdirectory of the "web directory". Attempting to do so could expose sensitive files present within your application.
@codewithsusan
5 ай бұрын
The way we've configured "/admin" in this setup is not actually a true subdirectory - it's an alias pointing to its own root web directory.
@Lukasz-online
5 ай бұрын
@@codewithsusan ok thanks so, your first app is in web root /var/www/main and your second app is in web root /var/www/admin Thank you your setup worked on my localhost setup with Laragon. The only odd issue is livewire/livewire.js is showing as 404 error which it was not previously so I will have to look into that.
@HamadAbdulla_7
7 ай бұрын
Thank you
@kelvinsankale
Ай бұрын
I am so so so grateful, thank you for this guidance, you have saved my day. 4rm Kenya with
Пікірлер: 5