Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 97687 invoked from network); 4 Dec 2004 17:12:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Dec 2004 17:12:02 -0000 Received: (qmail 33204 invoked by uid 500); 4 Dec 2004 17:11:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33173 invoked by uid 500); 4 Dec 2004 17:11:46 -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 33155 invoked by uid 99); 4 Dec 2004 17:11:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from cmsout03.mbox.net (HELO cmsout03.mbox.net) (165.212.64.33) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Dec 2004 09:11:44 -0800 Received: from cmsout03.mbox.net (cmsout03.mbox.net [165.212.64.33]) by cmsout03.mbox.net (Postfix) with ESMTP id E9BB4F4 for ; Sat, 4 Dec 2004 17:11:39 +0000 (GMT) Received: from uadvg129.cms.usa.net [165.212.11.129] by cmsout03.mbox.net via smtad (C8.MAIN.3.16w); Sat, 04 Dec 2004 17:11:39 GMT X-USANET-From: 165.212.11.129 IN warp-9.9@usa.net uadvg129.cms.usa.net Received: from enterprise [66.189.38.244] by uadvg129.cms.usa.net (ASMTP/warp-9.9@usa.net) via mtad (C8.MAIN.3.21E) with ESMTP id 902iLDRLM0256M29; Sat, 04 Dec 2004 17:11:38 GMT X-USANET-Auth: 66.189.38.244 AUTH warp-9.9@usa.net enterprise Message-ID: <000401c4da24$50b42e80$0a01a8c0@enterprise> From: "Leif W" To: References: <4630DBE0-4616-11D9-8B21-0003938366A4@jibeya.com> Date: Sat, 4 Dec 2004 12:11:37 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-USANET-MsgId: XID902iLDRLn0256X29 X-Virus-Checked: Checked Subject: Re: [users@httpd] RewriteRule - if Not X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Andrew M, Saturday, December 04, 2004 12:02 > > RewriteRule ^/(.register | confirmStage)\.(xml)$ > http://%{SERVER_NAME}$1.$2 [R] > > The first 2 lines work fine, but the last one does not. What am I doing > wrong? I know ^ is the beginning of line marker in a regular expression, not a negation character. I believe !is the negation character. Read the manual about rewriting, especially the rewriting guide. http://your-favorite-mirror/manual/misc/rewriteguide.html Leif --------------------------------------------------------------------- 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