I have been attempting to set proper permissions during the configuration of a virtual host but keep running into a 404 page error. It only occurs during permission changes. What is the best directory permission for multiple virtual hosts?
Currently, I am copying the default skeleton directory and then using useradd to set the home directory to those identified above and then adding each user to the www-data group. Once I do this, even changing ownership to the user:www-data and permissions as 0770 I start seeing the 404 page.
Any good guides that explain permissions for web root directories?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.