From owner-freebsd-questions Wed Mar 22 4:32: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from athena.tyfon.net (athena.tyfon.net [212.37.11.70]) by hub.freebsd.org (Postfix) with ESMTP id C883B37B5C6 for ; Wed, 22 Mar 2000 04:31:59 -0800 (PST) (envelope-from dl@tyfon.net) Received: from tyfon.net (raw.null.tyfon.com [213.212.29.17]) by athena.tyfon.net (8.10.0/8.10.0.Beta12) with ESMTP id e2MCVwN80089 for ; Wed, 22 Mar 2000 13:31:58 +0100 (CET) Received: from enigmatic by tyfon.net with SMTP (MDaemon.v2.84.R) for ; Wed, 22 Mar 2000 13:44:41 +0100 From: "Dan Larsson" To: "[FreeBSD-Questions-List] (E-mail)" Subject: [OT] AliasMatch or Rewrite solution for user homepages Date: Wed, 22 Mar 2000 13:32:32 +0100 Message-ID: <00ec01bf93fa$b2a7ed40$0c01a8c0@junglenote.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Return-Path: dl@tyfon.net Reply-To: dl@tyfon.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The whole idea idea behind this is to get rid of the tidle '~' character from a users home page. Example www.domain.com/~username to www.domain.com/users/username. I've almost got it to work by using the following apache configuration parameters. Alias /users/ /home/ UserDir http://www.domain.com/users/* This effectivly aliases to /home/username/, but since all the users pages are located in /home/username/public_html I get a directory listing denied error. How do I tell apache to look in the latter directory? Thanks in advance! /D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message