shiftbit
August 14th, 2010, 09:26 PM
FYI - if your reading this and having trouble getting virtual hosts to work which point to a location in your home folder, then maybe this will help. Besides the various config files and their settings, my biggest headache was the folder permissions. That has been what just spend the last few hours fighting with. Basically, root will own the home folder, your user will own the [username] folder and then under there, you need to start assigning [www-data] as the group.
So say you have a folder path like so
/home/some-user-name-here/projects/mynewwebsite
notes:
- root will own /home
- start with /projects (and all the way down to your web root path) and assign [www-data] as the group with read access.
So say you have a folder path like so
/home/some-user-name-here/projects/mynewwebsite
notes:
- root will own /home
- start with /projects (and all the way down to your web root path) and assign [www-data] as the group with read access.