From owner-freebsd-questions@FreeBSD.ORG Thu Nov 27 11:46:45 2003 Return-Path: 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 36C7B16A4CE for ; Thu, 27 Nov 2003 11:46:45 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7714143FEC for ; Thu, 27 Nov 2003 11:46:41 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hARJk4qt021926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 27 Nov 2003 19:46:34 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hARJk4HQ021925 for questions@FreeBSD.ORG; Thu, 27 Nov 2003 19:46:04 GMT (envelope-from matthew) Date: Thu, 27 Nov 2003 19:46:04 +0000 From: Matthew Seaman To: FreeBSD-questions Message-ID: <20031127194604.GA21752@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , FreeBSD-questions References: <000a01c3b440$12ec79a0$0901a8c0@bloodlust> <20031127193125.GA3444@watt.intra.caraldi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <20031127193125.GA3444@watt.intra.caraldi.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: Adding users... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 19:46:45 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 27, 2003 at 08:31:27PM +0100, Jean-Baptiste Quenot wrote: > 3) If you want to have your user directories outside of the document > root, you will have to setup an Alias for each user, or to define > another virtual host. But that becomes close to solution 1 in that > case. Apache has the UserDir directive for this purpose. The default setting makes it so that user fred can create a directory ~fred/public_html that is visible to the world as http://www.example.com/~fred/ See: http://httpd.apache.org/docs-2.0/mod/mod_userdir.html#userdir http://httpd.apache.org/docs-2.0/howto/public_html.html If you don't want the '~' symbol to appear in your URLs, you can't use UserDir. However, if you have a regular layout of your user directories, you can use 'AliasMatch' to achive much the same effect: http://httpd.apache.org/docs-2.0/urlmapping.html#user Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/xlR8dtESqEQa7a0RAphwAKCOnG7SPIMp1g6FBnoEO/YRAn0CUgCfYqaA J9UhJB5k15ZkaUluZNuXFIg= =jT0R -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--