From owner-freebsd-questions Mon Oct 11 8:54:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.intekom.com (smtp.intekom.com [196.25.69.22]) by hub.freebsd.org (Postfix) with ESMTP id 757C115153 for ; Mon, 11 Oct 1999 08:54:27 -0700 (PDT) (envelope-from evablunted@earthling.net) Received: from uta36-01-p27.ec.saix.net ([155.239.168.27] helo=impakt) by mail.intekom.com with smtp (Exim 3.02 #4) id 11ahlV-00006k-00 for Freebsd-questions@freebsd.org; Mon, 11 Oct 1999 17:53:33 +0200 Message-ID: <000e01bf13fd$7dd507b0$0b02a8c0@sunnet.co.za> From: "Langa Kentane" To: "FreeBSD" Subject: Apache, virtual servers and user home pages Date: Mon, 11 Oct 1999 14:31:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a setup where our users have their web pages under their public_html directory on their home directories. I also have virtual servers running under the main server. The problem now is that I want the user home pages to be accessible on if I go home.mydomain.com/~user And when I user on of the others virtual servers, like www.mydomain.com/~user or othervirtualserver.mydomain.com/~user , I don't want the user home page accessible. Is there a way that I can tell apache to do this for me? What I have tried but does not seem to have worked was to comment out the main userdir directive in httpd.conf and I them put this directive under the virtual server definition. What do I do? Langa Kentane Manager: Network Operations Sunshine Networks Tel +27 82 928 1952 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message