From owner-freebsd-questions Sun Oct 6 5:34:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2744437B401 for ; Sun, 6 Oct 2002 05:34:49 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D0DF43E3B for ; Sun, 6 Oct 2002 05:34:48 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g96CYkVc014565; Sun, 6 Oct 2002 13:34:46 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g96CYerC014564; Sun, 6 Oct 2002 13:34:40 +0100 (BST) Date: Sun, 6 Oct 2002 13:34:40 +0100 From: Matthew Seaman To: Kirk Bailey Cc: "freebsd-questions@freebsd.org" Subject: Re: directory structuer for a web server Message-ID: <20021006123440.GA14455@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , Kirk Bailey , "freebsd-questions@freebsd.org" References: <3D9FB14F.39203E9C@netzero.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D9FB14F.39203E9C@netzero.net> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-14.1 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Oct 05, 2002 at 11:43:11PM -0400, Kirk Bailey wrote: > where should one properly place the directory for the web pages in a > web server, and is there a standard name for it? I have a box with > several domains in it, so I created /www off of root, ant > /www/www.foo.foo for each domain under /www but I suspect this is > not a standard solution. Any advice? FreeBSD ports will put all webserver content into a data directory under /usr/local/www/ --- often data.default --- but that takes no account of having multiple virtual hosts. I don't think there's sufficient people running large scale webservers with many virtual hosts that any sort of standard location has evolved. Your layout is eminently sensible --- assuming /www is on it's own partition and not part of the root. It happens to be exactly the same system as used at the last place I worked, so you're probably on the right wavelength somewhere. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message