From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22197 invoked by alias); 12 May 2011 14:46:57 -0000 Received: (qmail 22186 invoked by uid 22791); 12 May 2011 14:46:56 -0000 X-SWARE-Spam-Status: No, hits=-6.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 May 2011 14:46:07 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4CEk5tk015101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 May 2011 10:46:05 -0400 Received: from fche.csb (vpn-11-249.rdu.redhat.com [10.11.11.249]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4CEk5NY010284; Thu, 12 May 2011 10:46:05 -0400 Received: by fche.csb (Postfix, from userid 2569) id C4BBA5811F; Thu, 12 May 2011 10:46:04 -0400 (EDT) Date: Thu, 12 May 2011 14:46:00 -0000 From: "Frank Ch. Eigler" To: Joel Sherrill Cc: "overseers@sourceware.org" Subject: Re: Bugzilla Question Message-ID: <20110512144604.GB27385@redhat.com> References: <4DCBF1E4.5060202@oarcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DCBF1E4.5060202@oarcorp.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00058.txt.bz2 Hi, Joel - > gcc.gnu.org has a rewrite rule to shorten > the URLfor a Bugzilla PR. I would like > to do the same on rtems.org. [...] Sure, here is the variant in use for sourceware.org RewriteCond %{QUERY_STRING} ([0-9]+)$ RewriteRule ^PR http://sourceware.org/bugzilla/show_bug.cgi?id=%1 [R] RedirectMatch ^/PR([0-9]+)$ http://sourceware.org/bugzilla/show_bug.cgi?id=$1 - FChE