From owner-freebsd-questions Mon Oct 14 1:31:20 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 404A437B404 for ; Mon, 14 Oct 2002 01:31:17 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C310A43EB1 for ; Mon, 14 Oct 2002 01:31:15 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9E8VEKg047937; Mon, 14 Oct 2002 09:31:14 +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 g9E8V81Z047936; Mon, 14 Oct 2002 09:31:08 +0100 (BST) Date: Mon, 14 Oct 2002 09:31:08 +0100 From: Matthew Seaman To: randy@turbowarp.net Cc: questions@FreeBSD.ORG Subject: Re: Web Root Directory Message-ID: <20021014083108.GA47706@happy-idiot-talk.infracaninophi> References: <1985.207.71.22.111.1034564389.squirrel@new.host.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1985.207.71.22.111.1034564389.squirrel@new.host.name> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-11.2 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_02_03,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 Sun, Oct 13, 2002 at 09:59:49PM -0500, randy@turbowarp.net wrote: > Where should Apache web root directory be for users? By default, the web root is /usr/local/www/data --- for a freshly installed port that's linked to /usr/local/www/data-dist which contains the default apache website. You're meant to break that link and provide your own stuff in /usr/local/www/data. However, I guess that what you are really asking is about the configuration of user web directories: eg. http://www.foo.com/~user/ That's controlled by the UserDir directive in httpd.conf. The default value is 'public_html', so your users should just create a ~/public_html directory and put their web content into it. 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