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 5:10 PM, Greg Platt - Platt Consultants
<GregPlatt@xxxxxxxxxxxxx> wrote:

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

> 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.

I doubt Apache ever shipped with a default config that included
mod_vhost_alias.  Perhaps RedHat set this up for you, if it really
wasn't configured after the fact.

Apache supports a number of canned layouts that you select at build
time, but they dictate very little in the manner of how you'd add
additional domains / document roots.  It's mostly concerned with where
the binaries, documents, and icons are installed relative to eachother
(along with the initial global DocumentRoot, which for a number of
layouts even in 5.3 is /var/www)

-- 
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