From owner-freebsd-questions Tue Jun 13 9:36:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from castor.e-lingo.com (castor.e-lingo.com [63.200.147.16]) by hub.freebsd.org (Postfix) with ESMTP id 4892937BED5 for <freebsd-questions@FreeBSD.ORG>; Tue, 13 Jun 2000 09:36:42 -0700 (PDT) (envelope-from meagan@e-lingo.com) Received: from meagan (node226.e-lingo.com [63.200.147.226] (may be forged)) by castor.e-lingo.com (8.9.3/8.9.3) with ESMTP id JAA01063 for <freebsd-questions@FreeBSD.ORG>; Tue, 13 Jun 2000 09:36:40 -0700 (PDT) (envelope-from meagan@e-lingo.com) Message-ID: <016601bfd555$013bb590$e293c83f@meagan> From: "Meagan Jia Pi" <meagan@e-lingo.com> To: <freebsd-questions@FreeBSD.ORG> References: <D76D503DE976D1119C7E00A0C944D87501CA8013@RSYS002A> Subject: allow access to specific IP addresses in Apache Date: Tue, 13 Jun 2000 09:32:45 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 Disposition-Notification-To: "Meagan Jia Pi" <meagan@e-lingo.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Morning! I already know how to allow access to certain IPs to view pages in "DocumentRoot", so www.mydomain.com and anything under can only be viewed by certain IPs by the following lines added into the configuration file. [begin] Order deny,allow Deny from all Allow from 111.222.333.444 Allow from 222.111.222. Allow from 333.222. [end] but it doesn't take any effects for pages under each users' public_html directories. In other words, www.mydomain.com/~username are still open to any IP. How can I make ~username pages be viewed by certain IPs then? Please help. Thanks in advance. -Meagan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message