Page 1 of 1

Change the root directory for all new users permanently

Posted: Sun May 27, 2018 11:27 pm
by woenel
Hello,

Is there a way to change the root directory from

Code: Select all

public_html
to

Code: Select all

public_html/public
for all new users permanently?

What I want to happen is that, every time new user is created, I want the root directory to be `public_html/public` instead of `public_html` or at least change the `public_html` to `public` only.

Re: Change the root directory for all new users permanently

Posted: Mon May 28, 2018 1:53 am
by grayfolk
You can edit all Vesta nginx/httpd (apache) templates for this.

Re: Change the root directory for all new users permanently

Posted: Mon May 28, 2018 6:14 am
by ScIT
grayfolk is right, they are in: /usr/local/vesta/data/templates/web/