Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 48432 invoked from network); 2 Sep 2008 21:29:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Sep 2008 21:29:01 -0000 Received: (qmail 73056 invoked by uid 500); 2 Sep 2008 21:28:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 73012 invoked by uid 500); 2 Sep 2008 21:28:50 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 73001 invoked by uid 99); 2 Sep 2008 21:28:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 14:28:50 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.86.89.68] (HELO elasmtp-masked.atl.sa.earthlink.net) (209.86.89.68) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 21:27:50 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=CpXfwWV8FJfbDhOakoIl4ikvssrs7VlRiHY4+ER0DY0NjQ2yhY7JF6wXx04hu/Js; h=Received:Reply-To:From:To:Cc:Subject:Date:Organization:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:X-MimeOLE:In-Reply-To:X-ELNK-Trace:X-Originating-IP; Received: from [75.161.17.147] (helo=gregsrocket) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1KadPp-0002Rp-FT; Tue, 02 Sep 2008 17:27:57 -0400 Reply-To: From: "Greg Platt - Platt Consultants" To: "'Joseph S D Yao'" Cc: Date: Tue, 2 Sep 2008 15:27:54 -0600 Organization: Platt Consultants Message-ID: <031301c90d42$c3585b00$0200a8c0@gregsrocket> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckNPv7BRhqcj5w9QL+Nfw4gLCLFFQAAYyHA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 In-Reply-To: <20080902165927.B28867@gwyn.tux.org> X-ELNK-Trace: 0c9e2d9f8b4625b18959eeae6169f8b176535cd90bdcdc37d5b35e5ef56172f43387a6253d48a46c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 75.161.17.147 X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Why do I need /var/www as DocumentRoot & www-data as www owner? I'm not arguing for or against what Debian did. One thing I can say is their approach provides an individual VirtualHost file for each domain. It thus tends to isolate any damage that might be done in editing httpd.conf to a single domain. It also makes it easy to disable one domain using their a2dissite utility without any risk of affecting other domains. Other than that, I honestly don't care. I was actually quite comfortable with the httpd.conf approach too. I wasted several hours when I first got involved with Debian trying to figure out exactly how their setup differed. Indeed, it was just after I'd gone through the struggle of figuring all that out and had gotten my 3 test sites working under the Debian paradigm that another Debian user remarked about my "unusual" directory structure and expressed the opinion that the entire web structure "should be" owned by www-data and all sites should be under /var/www. It was at that point that I began to worry I had somehow misinterpreted Apache and Debian's intent here. That's what eventually lead to my first post here today. -----Original Message----- From: Joseph S D Yao [mailto:jsdy@tux.org] Sent: Tuesday, September 02, 2008 2:59 PM To: Greg Platt - Platt Consultants Cc: users@httpd.apache.org Subject: Re: [users@httpd] Why do I need /var/www as DocumentRoot & www-data as www owner? I have no clue why the Debian Etch distribution is set up as you describe. I do remember discussion about the time /var/www was first used, long ago, about /var always being a read-write file system even if the others were mounted read-only from some other medium [CD-ROM, NFS, etc.]. This seemed to be at least part of the motivation. But I can't speak for Apache at all. -- /*********************************************************************\ ** ** Joe Yao jsdy@tux.org - Joseph S. D. Yao ** \*********************************************************************/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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