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 Wednesday, March 26, 2003, at 04:22 PM, Gerald Pfeifer wrote:


On Tue, 25 Mar 2003, Daniel Berlin wrote:
It's a simple application of mod_rewrite.
I just don't have *access* to the apache config files to set it up.
Understand?

Yup. I do, though...


You should be able to add something like
RewriteEngine on
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.



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]