httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Platt - Platt Consultants" <GregPl...@ix.netcom.com>
Subject RE: [users@httpd] Why do I need /var/www as DocumentRoot & www-data as www owner?
Date Tue, 02 Sep 2008 21:10:58 GMT
On my old RedHat 7.2 server as it was delivered, DocumentRoot for each
<VirtualDomain> was essentially /home/www/mydomain or /www/mydomain
depending on your perspective. One was basically a link to the other. In the
new scheme of things, DocumentRoot was moved (and it seems to have been done
by Apache themselves) to /var/www.

On my old server, each virtual host directory and all of the site's web
content was owned by "mydomainowner" and "mydomaingrp" or "yourdomainowner"
and "yourdomaingrp", etc. All directories above that were owned by root. I
was lead to believe that in the "NEW way" of doing things, www-data should
own the entire web directory structure and all of its content.

Does that answer the question, Eric? 

-----Original Message-----
From: Eric Covener [mailto:covener@gmail.com] 
Sent: Tuesday, September 02, 2008 2:55 PM
To: users@httpd.apache.org; gregplatt@ix.netcom.com
Subject: Re: [users@httpd] Why do I need /var/www as DocumentRoot & www-data
as www owner?

On Tue, Sep 2, 2008 at 4:44 PM, Greg Platt - Platt Consultants
<GregPlatt@ix.netcom.com> wrote:
>
> Yes, I realize the DocumentRoot location can be changed. Indeed I've
already
> changed it with the sites I converted earlier. What I came here hoping to
> find is someone who understands WHY it was changed by Apache to begin with
> and who could explain the implications of changing it in a different
way...
> especially since on Debian I can change it from one virtual host to
another.
> Frankly, I haven't found anything yet that says there were technological
or
> security reasons why Apache made this change. Not even their documentation
> suggests such reasons exist. If the answer is there ARE no specific
reasons
> for the change, I'm inclined to ignore it and go with what I already have
> working.

You're now using someone elses packaging of the Apache HTTP Server.
What Apache change are you referring to?

-- 
Eric Covener
covener@gmail.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message