My problem: Deploying a Laravel app in a subdirectory coexisting with other apps.
I tried to deploy my Laravel app on a shared hosting,the host has wordpress in the root.
The following workaround in the subdirectory:
- .htaccess (copied from public) - modified to use the file resources (css, img, etc) from public
- renamed server.php to index.php has made the app usable.
However, almost everything works, by works I mean:
- I can use paths
- /public is not in the url
- images and other resources are displayed properly
Now, I need to know how this can be done without hacks ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire