VestaCP and Laravel
Posted: Mon Apr 02, 2018 3:01 pm
Hi all.
Suppose I have a site called utilities.mydomain.com.
Inside there, I want to make several laravel projects in each folder.
eg.
utilities.mydomain.com/tool1
utilities.mydomain.com/tool2
utilities.mydomain.com/toolx
How can I make all these work with simply adding .htaccess file/s somewhere in utilities.mydomain.com or any other place?
Points.
a) I don't want to split the Laravel folders as I saw in other tutorials. Each folder must be a pure installed Laravel project.
b) I can make "utilities.mydomain.com/tool1/public" work with no problem with simply adding "composer create-project laravel/laravel toolz" inside the public_html folder, but I want to get rid of the "public/" term in the URL.
Thanks, Federico
Suppose I have a site called utilities.mydomain.com.
Inside there, I want to make several laravel projects in each folder.
eg.
utilities.mydomain.com/tool1
utilities.mydomain.com/tool2
utilities.mydomain.com/toolx
How can I make all these work with simply adding .htaccess file/s somewhere in utilities.mydomain.com or any other place?
Points.
a) I don't want to split the Laravel folders as I saw in other tutorials. Each folder must be a pure installed Laravel project.
b) I can make "utilities.mydomain.com/tool1/public" work with no problem with simply adding "composer create-project laravel/laravel toolz" inside the public_html folder, but I want to get rid of the "public/" term in the URL.
Thanks, Federico