Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 24924 invoked from network); 12 Apr 2005 17:10:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2005 17:10:20 -0000 Received: (qmail 18147 invoked by uid 500); 12 Apr 2005 17:10:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18131 invoked by uid 500); 12 Apr 2005 17:10:00 -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 18099 invoked by uid 99); 12 Apr 2005 17:10:00 -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 radu.onastick.net (HELO radu.onastick.net) (207.44.150.54) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 12 Apr 2005 10:09:59 -0700 Received: from sitz by radu.onastick.net with local (Exim 3.35 #1 (Debian)) id 1DLOth-00083J-00 for ; Tue, 12 Apr 2005 13:09:57 -0400 Date: Tue, 12 Apr 2005 13:09:57 -0400 To: users@httpd.apache.org Message-ID: <20050412170957.GA22331@radu.onastick.net> References: <621eda8a05041202402068fb3e@mail.gmail.com> <20050412154604.GA8079@radu.onastick.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6+20040907i From: Noah X-Virus-Checked: Checked Subject: Re: [users@httpd] question about mod_rewrite X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, Apr 12, 2005 at 12:04:21PM -0400, Joshua Slive wrote: > > > > > > RewriteRule ^/apps.*$ /maintenance.html [L] > > > > Shouldn't that read: > > > > RewriteRule ^/apps/.* /maintenance.html [L] > > > > ...or even: > > > > RewriteRule ^/apps/ /maintenance.html [L] > > I assumed he didn't want to insist on the trailing slash. Including > it in the RewriteRule will mean that apache will need to issue a > redirect to put it on before the rewriterule will take effect. Ah, k. I tend to be leary of /foo.*, since I don't want to accidently match /foobar or /apps2, or what have you. =) --n -- "Any system shall not harm your content or, through inaction, allow your content to come to harm." - Jeff Raskin --------------------------------------------------------------------- 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