Re: Why do I need /var/www as DocumentRoot & www-data as www owner?

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

 



On Tue, Sep 2, 2008 at 3:15 PM, Greg Platt - Platt Consultants
<GregPlatt@xxxxxxxxxxxxx> wrote:

> I remember someone mentioning in a post I made weeks ago that the ownerships
> and permissions on my web directories seemed odd. His remarks suggested he
> thought all web directories ought to be owned by www-data and have
> permissions of 755.

Generally your webserver (www-data) userid shouldn't own the content
it's serving (or the directory it lives in)

I think you're  taking the packaging decisions of various
distributions to heart a little too much.  You should be able to quite
easily change a DocumentRoot as you move from host to host.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux