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


On Wed, 26 Mar 2003, Daniel Berlin wrote:
>>> Here's a tested rewrite rule:
>>> RewriteCond %{QUERY_STRING}     .*cmd=view.*pr=(\d+)
>>> RewriteRule ^.*gnatsweb.pl.*  /bugzilla/show_bug.cgi?id=%1
>> ...and I was just trying the above (changing "cmd" to "mdc" to avoid
>> current gnatsweb breaking), but there's some problem.  Let me
>> investigate.
> It works okay on dberlin.org, but i'm apache 2.0.
>
> Try http://dberlin.org/cgi-bin/gnatsweb.pl?cmd=view&pr=500
> For instance.
>
> If you guys have virtual hosts set up, it needs to be *in* the virtual
> host config for gcc. Or at least, for apache 2.0, it wasn't working at
> all outside of the VirtualHost i have setup.

Yes, I had done all that.

Anyway, Rewrite* is not what we really want here; rather, we ought to
use RedirectMatch.

Unfortunately, I failed to get that working on gcc.gnu.org; today'
certainly not may day concerning web configs. :-(

Any idea what's wrong about the following (ignore the too liberal pattern
for the PR number for now)?

  RedirectMatch permanent ^/cgi-bin/gnatsweb.*view.*pr=.*$ http://dberlin.org/bugzilla/show_bug.cgi?id=$3

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