Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50809 invoked from network); 22 Mar 2005 16:04:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2005 16:04:26 -0000 Received: (qmail 79835 invoked by uid 500); 22 Mar 2005 16:04:14 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 79811 invoked by uid 500); 22 Mar 2005 16:04:13 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 79797 invoked by uid 99); 22 Mar 2005 16:04:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mailhub2.Dartmouth.EDU (HELO mailhub2.dartmouth.edu) (129.170.17.107) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 22 Mar 2005 08:04:12 -0800 Received: from newdancer.Dartmouth.EDU (newdancer.dartmouth.edu [129.170.208.31]) by mailhub2.dartmouth.edu (8.12.10+DND/8.12.10) with ESMTP id j2MFtxYt000607; Tue, 22 Mar 2005 11:02:45 -0500 X-Disclaimer: This message was received from outside Dartmouth's BlitzMail system. Received: by newdancer.Dartmouth.EDU (Mac) via SMTP from Karakas.Kiewit.Dartmouth.EDU [129.170.18.224] for id <41595492> 22 Mar 2005 11:02:45 EST In-Reply-To: <1111506932.8681.12.camel@localhost.localdomain> References: <1111488809.8681.5.camel@localhost.localdomain> <1111506932.8681.12.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <273bf4a1982698e89096d74eb8813288@dartmouth.edu> Content-Transfer-Encoding: 7bit Cc: Joshua Slive From: Brian V Hughes Date: Tue, 22 Mar 2005 11:02:45 -0500 To: users@httpd.apache.org X-Mailer: Apple Mail (2.619.2) X-MailScanner: Found to be clean by mailhub2.Dartmouth.EDU X-MailScanner-From: brianvh@dartmouth.edu X-Virus-Checked: Checked Subject: Re: [users@httpd] Regexps in rewrite rules X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Mar 22, 2005, at 10:55 AM, Gary Wilson wrote: > Still interested as to why my original solution won't work though > (I tried with and without line terminator etc - in fact I've tried over > 10 incarnations of that regexp - just can't seem to get perl style > negations working under apache) - but that's for another time and > place now :) The simplest answer for why your original rule didn't work is you can't use back references with "not match" patterns. Remember that a "not match" is the same as accepting a failure to match. If you fail to match, then there won't be anything matched on that you can store in a back reference. -Brian --------------------------------------------------------------------- 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