Re: apache permission users

2013-05-20 Thread Tony Baldwin
On Mon, May 20, 2013 at 11:05:26AM +0300, Lars Nooden wrote: > On Mon, 20 May 2013, Tony Baldwin wrote: > [snip] > > and add the server (www-data) to their group, 775 stuff. I don't know if > > it's the best practice, > [snip] > > The www-data user and group should be left alone. They are there

Re: apache permission users

2013-05-20 Thread Lars Nooden
On Mon, 20 May 2013, Tony Baldwin wrote: [snip] > and add the server (www-data) to their group, 775 stuff. I don't know if > it's the best practice, [snip] The www-data user and group should be left alone. They are there for privilege separation of the web server by providing an unprivileged a

Re: apache permission users

2013-05-19 Thread Tony Baldwin
On Wed, May 15, 2013 at 01:21:12PM +0200, Pol Hallen wrote: > Hi folks! > > I installed apache2 web server on debian. > > I need use this web server to host several domains (friends's domains) > > I'm not sure how configure permission for each users. > > ie: > > user1 = mywebserver1 (has real

Re: apache permission users

2013-05-15 Thread Lars Nooden
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

Re: apache permission users

2013-05-15 Thread Jean-Marc
On Wed, 15 May 2013 13:21:12 +0200, Pol Hallen wrote: > Hi folks! Hi Pol, > > I installed apache2 web server on debian. > [SNIP] > > chmod 755 /var/www/mywebserver1? Personally and just about permissions, I would be more strict, like that: chmod 750 /var/www/mywebserver{1..5} > > and same f