Я пытаюсь развернуть приложение на общем хостинге (LWS).
Мое приложение использует Laravel12 в качестве серверной части и Vuejs в качестве внешнего интерфейса.
Внешняя часть устанавливается непосредственно на домен.fr, а серверная часть — на backend.domain.fr.
Структура папок хостинга:
htdocs/
|--assets(dir) //for the frontend
|--index.html //for frontend
|--backend(dir)
|--app(dir)
|--bootstrap(dir)
|--config(dir
|--sanctum.php
|--cors.php
|-- (etc.)
|--database(dir)
|--public(dir)
|--resources(dir)
|--routes(dir)
|--api.php
|--auth.php
|--web.php
|--storage(dir)
|--test(dir)
|--vendor(dir)
|--backend.denentzat.fr //the document root of the sub domain
|--index.php
|--.htaccess
Файл index.php в backend.denentzat.fr (корень документа)
Подробнее здесь: https://stackoverflow.com/questions/798 ... ion-on-a-s