Welcome! Log In Create A New Profile

Advanced

Document root

Posted by toft6633 
Document root
July 03, 2024 03:55AM
Hello,

I am a bit confused of setting the document root.

In all tutorials I have seen you shall create a directory in /var/www/ owned by a regular user, e.g. "/var/www/drupal" where "drupal" is owned for example by user "fred".

I have instead set the root directory to /home/fred/www/drupal/web". Is this bad? It works perfectly.

Fred
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready