I currently use Laravel framework for my sites and services, it works well but I always need to make manual changes to each user I create on the server.
By default the "home" folder of the sites on CPanel is public_html and laravel is public, so I always need to change this in the WHM files:
and after that run some scripts for these changes to take effect correctly:
It was right here that I got this help on how to make this change and thanks again to you for that.
The question is whether there is a way today to make a more correct change that prevents these steps from always being done.
For example the content of these:
'var / cpanel / userdata / USERNAME / DOMAIN.COM'
It comes pre-written from a standard template if it is possible to edit this template.
Mais sobre o texto originalÉ necessário fornecer o texto original para ver mais informações sobre a tradução
By default the "home" folder of the sites on CPanel is public_html and laravel is public, so I always need to change this in the WHM files:
Code:
'var/cpanel/userdata/USERNAME/DOMAIN.COM'
'var/cpanel/userdata/USERNAME/DOMAIN.COM_SSL'
Code:
/scripts/updateuserdatacache
mv /etc/apache2/conf/httpd.conf{,.bk}
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
The question is whether there is a way today to make a more correct change that prevents these steps from always being done.
For example the content of these:
'var / cpanel / userdata / USERNAME / DOMAIN.COM'
It comes pre-written from a standard template if it is possible to edit this template.
Mais sobre o texto originalÉ necessário fornecer o texto original para ver mais informações sobre a tradução
Last edited by a moderator: