Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 21017 invoked from network); 14 Sep 2009 09:41:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Sep 2009 09:41:58 -0000 Received: (qmail 2868 invoked by uid 500); 14 Sep 2009 09:41:57 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 2807 invoked by uid 500); 14 Sep 2009 09:41:57 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 2799 invoked by uid 99); 14 Sep 2009 09:41:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 09:41:57 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pflynn@ucc.ie designates 143.239.1.34 as permitted sender) Received: from [143.239.1.34] (HELO mail4.ucc.ie) (143.239.1.34) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 09:41:47 +0000 Received: from [143.239.128.196] (ccepub196.ucc.ie [143.239.128.196]) by mail4.ucc.ie (8.13.8/8.13.8) with ESMTP id n8E9fKDa005889 for ; Mon, 14 Sep 2009 10:41:25 +0100 Message-ID: <4AAE0FC0.9000804@ucc.ie> Date: Mon, 14 Sep 2009 10:41:20 +0100 From: Peter Flynn Organization: University College Cork User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Restricting access by IP address References: <4AA7858D.5010400@ucc.ie> <4AA78895.7060504@onehippo.com> <4AA789E8.1060700@ucc.ie> <4AA8A0EB.9030707@proventis.net> In-Reply-To: <4AA8A0EB.9030707@proventis.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MD-NoSA: yes X-Scanned-By: MIMEDefang 2.57 on 143.239.1.34 X-Virus-Checked: Checked by ClamAV on apache.org Thomas Markus wrote: > hi, > > look at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#access > > or use a matcher/selector in your sitemap > > > value="{request:remoteAddr}" /> > > > > > > > That look like the right approach...except I can't find any documentation at http://cocoon.apache.org/2.2/core-modules/core/2.2/840_1_1.html on the syntax of the test attribute. What I'm looking for is something like test="substring($parameter-selector-test,1,7)='xxx.yyy'" Your example looks as if test is a binary operator implying equality, but the documentation is blank about this. ///Peter --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org