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

Recommended Posts

ZeroFearX    14

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

 

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.