[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache permission users



On Wed, 15 May 2013, Jean-Marc wrote:
> Personally and just about permissions, I would be more strict, like
> that:
> chmod 750 /var/www/mywebserver{1..5}

You have to leave read permissions for the web server to be able serve up 
the web pages.  That means 775 or 755 for directories and 664 or 644 for 
files.  

On Wed, 15 May 2013, Pol Hallen wrote:
[snip]
> chown mywebserver1:mywebserver1 /var/www/mywebserver1

If there is only one user per web server, that works.  Otherwise, you will 
have to work with group-level permissions.

Regards,
/Lars


Reply to: