Answer the question
In order to leave comments, you need to log in
How to fix folder structure in laravel?
On the local I ruled httpd-vhosts.conf in order to have access to the site like this sati.ru and not sait.ru/public but how to do it on the hosting?
Answer the question
In order to leave comments, you need to log in
It all depends on the hosting, if you do not touch laravel.
Option directly with change in laravel. You can take out, for example, the entire folder outside domain.com and change the paths in public/index.php.
An example of a file structure:
=====
.
..
laravel_folder
-- (everything here except public)
domain.com
-- (everything in public folders here)
anotherSite1.com
anotherSite2.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question