Apache Server configuration support - Re: why do I need to set the user and group to the same owner of the file that is bein

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2007 > Re: why do I need to set the user and group to the same owner of the file that is bein





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: why do I need to set the user and group to the same owner of the file that is bein
Davide Bianchi

2007-04-22, 7:18 am

On 2007-04-22, Phil Latio <phil.latio@f-in-stupid.co.uk> wrote:
> DocumentRoot /home/lumsden/websites/domain.co.uk/www/html

<zap>
> So my question is why do I need to set the user and group to the same owner
> of the file that is being displayed?


To be able to 'serve' the pages apache need to be able to read the file
and to access all the directories in the path. So he is either running
as the user owning all that or has the permissions. Which one
of the two you pick is your choice.

Davide

--
I married your mother because I wanted children. Imagine my disappointment
when *you* arrived.
-- Julius Henry "Groucho" Marx (http://en.wikiquote.org/wiki/Groucho_Marx)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com