public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* Bugzilla Question
@ 2011-05-12 14:43 Joel Sherrill
  2011-05-12 14:46 ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Sherrill @ 2011-05-12 14:43 UTC (permalink / raw)
  To: overseers

Hi,

gcc.gnu.org has a rewrite rule to shorten
the URLfor a Bugzilla PR.  I would like
to do the same on rtems.org.

I would appreciate it greatly if you email
me the rewrite rule.

Thanks.

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bugzilla Question
  2011-05-12 14:43 Bugzilla Question Joel Sherrill
@ 2011-05-12 14:46 ` Frank Ch. Eigler
  2011-05-12 15:39   ` Joel Sherrill
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Ch. Eigler @ 2011-05-12 14:46 UTC (permalink / raw)
  To: Joel Sherrill; +Cc: overseers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bugzilla Question
  2011-05-12 14:46 ` Frank Ch. Eigler
@ 2011-05-12 15:39   ` Joel Sherrill
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Sherrill @ 2011-05-12 15:39 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: overseers

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-12 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 14:43 Bugzilla Question Joel Sherrill
2011-05-12 14:46 ` Frank Ch. Eigler
2011-05-12 15:39   ` Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).