Ability to have a VHOST file

ben shared this idea 7 months ago
Open Discussion

Hello,


This is very important especially for anyone using frameworks like Laravel.

Having the possibility to edit a VHOST file to route files below the public_html to the public_html is very important to have.


Thank you.

8 votes

Comments (2)

photo

Hi Ben,

What exactly would you want to add in a vhost? Could you provide more details?

photo

Hi Ben,

While your specific request isn't available, there IS a work-around.

Within the file manager / home directory of a website I have a folder which contains inside it a laravel folder and then a public_html folder. Then in the public_html's index.php script it should look something like this (note the ../ paths):

https://i.imgur.com/6eKK6u3.jpg

It's not perfect but it does allow Laravel to function properly on a domain/subdomain without exposing the laravel backend to the public web.

Leave a Comment