This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bugzilla update and schedule for changeover


[ also Cc:ed to overseers ]

On Wed, 26 Mar 2003, Daniel Berlin wrote:
>> Unfortunately, I failed to get that working on gcc.gnu.org; today'
>> certainly not may day concerning web configs. :-(
> When I asked if one can use RedirectMatch + the query string, I was told
> "No the query string is stripped out before any matching takes place.
> Don't try to match it."

<argl>, call that an, hmm, interesting, design.  And it seems, that my
problems yesterday were due to a different Apache "feature".

Anyway, after a bit of sleep, I managed to make it work with the
following, which is now active on gcc.gnu.org:

  # Rewrite old GNATS URLs to Bugzilla.
  RewriteEngine         on
  RewriteLog            logs/rewrite_log
  RewriteLogLevel       0
  RewriteCond %{QUERY_STRING}           .*cmd=view.*pr=([0-9]+)
  RewriteRule cgi-bin/ggnatsweb.pl.*    /bugzilla/show_bug.cgi?id=%1

All that's needed to put it into production mode is a single change above:
ggnatsweb.pl -> gnatsweb.pl

Gerald

PS: Sorry for the dozens of restarts of httpd in the last 12 hours. :-o
-- 
Gerald "Jerry"   pfeifer at dbai dot tuwien dot ac dot at   http://www.pfeifer.com/gerald/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]