Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 7086 invoked from network); 12 Apr 2005 13:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2005 13:05:58 -0000 Received: (qmail 32995 invoked by uid 500); 12 Apr 2005 13:05:23 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 32981 invoked by uid 500); 12 Apr 2005 13:05:23 -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 32965 invoked by uid 99); 12 Apr 2005 13:05:23 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jslive@gmail.com designates 64.233.184.201 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.201) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 12 Apr 2005 06:05:21 -0700 Received: by wproxy.gmail.com with SMTP id 67so3405294wri for ; Tue, 12 Apr 2005 06:05:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LGyOwcxMzGy30EOXWAQbPhvE5Q4qfX2ikQUcSfFBpzS9ArLnS510CRWImckcVu9/ocE1Dmdfl5GLL9FTjbg/byOtY19jpGzchTGGJEkGBs1YsB4ya6gsk8oFWZhCMqKDo9Ei1xCuQ7AKZEJvlBQg5CmnhuI0RQEhiUH9OMGcOcA= Received: by 10.54.43.78 with SMTP id q78mr980142wrq; Tue, 12 Apr 2005 06:05:20 -0700 (PDT) Received: by 10.54.62.11 with HTTP; Tue, 12 Apr 2005 06:05:20 -0700 (PDT) Message-ID: Date: Tue, 12 Apr 2005 09:05:20 -0400 From: Joshua Slive Reply-To: Joshua Slive To: users@httpd.apache.org, Zouari Fourat In-Reply-To: <621eda8a05041202402068fb3e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <621eda8a05041202402068fb3e@mail.gmail.com> 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 Apr 12, 2005 5:40 AM, Zouari Fourat wrote: > Hello, > When making updates on my server i put these lines in my apache conf : > > RewriteEngine on > RewriteRule ^.*$ /maintenance.html [L] > > it redirect all queries to the maintenance.html file wich indicates > that the site is under construction. > now i want to tune this to redirect only certain queries, i want to > redirect all queries that want to get this url range : > http://myserver/apps/* -> /maintenance.html > > is there anyone who can help me outta there ? > thanks very much RewriteRule ^/apps.*$ /maintenance.html [L] Joshua. --------------------------------------------------------------------- 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