Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 67463 invoked from network); 26 Oct 2006 14:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 14:10:55 -0000 Received: (qmail 29101 invoked by uid 500); 26 Oct 2006 14:10:54 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 29083 invoked by uid 500); 26 Oct 2006 14:10:54 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 29072 invoked by uid 99); 26 Oct 2006 14:10:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 07:10:54 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=RCVD_IN_WHOIS_INVALID X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [81.255.54.11] (HELO mx.laposte.net) (81.255.54.11) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 07:10:40 -0700 Received: from smtp.laposte.net (10.150.9.36) by mx.laposte.net (7.2.060.1) id 452A581C00FF8E4D for users@httpd.apache.org; Thu, 26 Oct 2006 16:10:17 +0200 Received: from smtpin.laposte.net (10.150.9.74) by smtp.laposte.net (7.3.105.2) id 453D4CA100423101 for users@httpd.apache.org; Thu, 26 Oct 2006 17:10:46 +0200 Received: from jgauthier (62.160.83.180) by smtpin.laposte.net (7.2.060.1) (authenticated as jgauthier) id 453EAE4E0000D503 for users@httpd.apache.org; Thu, 26 Oct 2006 16:10:15 +0200 From: "Jerome GAUTHIER" To: Date: Thu, 26 Oct 2006 16:10:16 +0200 Message-ID: <010f01c6f908$775a0280$6663a8c0@jgauthier> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: Acb5Ax8u7TKiXaIKSSyRUH01ZVgIPwAA+JdA X-Antivirus: avast! (VPS 0643-4, 26/10/2006), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] IP restriction with rewriterule Ok sorry, give an example, I have something like: RewriteRule ^/samba/(.*) http://host1/samba/$1 [P] RewriteRule ^/Webmail/(.*) http://host2/webmail/$1 [P] RewriteRule ^/icons/(.*) http://host3/icons/$1 [P] And I want only private IP can access to samba and for webmail and icons = no restriction. =20 Can I use with rewriteRule?=20 /jerome -----Message d'origine----- De=A0: jslive@gmail.com [mailto:jslive@gmail.com] De la part de Joshua = Slive Envoy=E9=A0: jeudi 26 octobre 2006 15:32 =C0=A0: users@httpd.apache.org Objet=A0: Re: [users@httpd] IP restriction with rewriterule On 10/26/06, Jerome GAUTHIER wrote: > I need help to restrict some IP address to access for only one rewriteRule. > > > > I have a lot of rewriterule on httpd-2.0.59 access from internet but = for > some of else I just want to access for the inside with private source = IP. > > The solution with allow/deny seem not possible because it's not a directory > and Rewritecond %{REMOTE_ADDR} not easy ! Your problem description isn't all that clear, but that solution that immediately comes to mind is putting the restrictions in a section. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org