From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28548 invoked by alias); 12 May 2011 15:39:33 -0000 Received: (qmail 28406 invoked by uid 22791); 12 May 2011 15:39:32 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 May 2011 15:38:42 +0000 Received: from iceland.oarcorp.com (192.168.1.160) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.436.0; Thu, 12 May 2011 10:38:41 -0500 Message-ID: <4DCBFF01.1070900@oarcorp.com> Date: Thu, 12 May 2011 15:39:00 -0000 From: Joel Sherrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: "Frank Ch. Eigler" CC: "overseers@sourceware.org" Subject: Re: Bugzilla Question References: <4DCBF1E4.5060202@oarcorp.com> <20110512144604.GB27385@redhat.com> In-Reply-To: <20110512144604.GB27385@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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/msg00059.txt.bz2 On 05/12/2011 09:46 AM, Frank Ch. Eigler wrote: > 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 > > Thanks for the magic. Already works. :-D It is nice knowing where to ask questions. In this case, Google was making me work very hard for this. > - FChE -- Joel Sherrill, Ph.D. Director of Research& Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985