Where to store website files?
I have a CentOS 6.4 VPS which runs several Apache virtual web servers.
My VPS provider set each one in /home (for instance, /home/website1/html was the root for website1, /home/website2/html was the root for website2, etc.
While this works, it is a little strange as website1, website2, etc are not normal users.
I am wondering if it is best to move them all to /var/www so that /var/www/website1/html will be the root for website1, etc. Then make Apache run as user Apache whose home directory is /var/www.
Last edited by NotionCommotion; 06-23-2013 at 12:42 PM.