Help configuring permissions for served httpd files/folders on CentOS.


Recommended Posts

Guys, I have questions about permissions of files & folders for web servers (httpd/php).

I have a VPS that I want to use for development purpose that will run php56w / httpd without any cpanel, webmin, etc..

 

If I create a virtual domain under /var/www/vhosts/mynewdomain/ what permissions/owner the folder must have.

What permissions the SFTP users that will be used to uploads files on that folder must have,

If I want apache/php to store files on specific folders, who the folder owner must be and what permission must it be granted ?

 

If anyone is gentle enough to explain this to me :)

 

Thank you

 

 

 

 

This topic is now closed to further replies.