Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 31193 invoked from network); 23 Jan 2007 17:35:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2007 17:35:42 -0000 Received: (qmail 40981 invoked by uid 500); 23 Jan 2007 17:35:44 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 40916 invoked by uid 500); 23 Jan 2007 17:35:43 -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 40905 invoked by uid 99); 23 Jan 2007 17:35:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 09:35:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ap-cocoon-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 09:35:34 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1H9PXy-0006Xl-9u for users@cocoon.apache.org; Tue, 23 Jan 2007 18:35:03 +0100 Received: from fw2-inet.semantico.net ([82.108.63.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Jan 2007 18:35:02 +0100 Received: from dom by fw2-inet.semantico.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Jan 2007 18:35:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Dominic Mitchell Subject: Re: map:match question Date: Tue, 23 Jan 2007 17:29:59 +0000 Organization: Semantico Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: fw2-inet.semantico.net User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Martin Holmes wrote: > I'm having trouble getting a match to trigger when the URL has a hash > followed by a query string. This is my match pattern: > > > > It works fine when the url is something like this: > > ...article.htm?id=EMLS3-2FITTNOCT&searchString=nocturne > > but not if the URL is like this: > > ...article.htm#hit10?id=EMLS3-2FITTNOCT&searchString=nocturne > > In other words, the presence of the #hit10 hash component in the url > causes the match to fail. I've tried variations such as > > article.htm | article.htm#* > > but I can't get any of them to match. > > What's the right way to do this? Your URLs are constructed incorrectly. Everything after the hash should never get sent to the server. It's purely for use by the browser. You need to set them up like this: .../article.htm?id=EMLS3-2FITTNOCT&searchString=nocturne#hit10 -Dom --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org