Re: setting query in PerlTransHandler

2000-01-09 Thread Ajay Shah
> >I may be wrong, but I bet you have to do this instead: > But you aren't :) > > $r->uri("/articles/index.html"); > $r->args("id=$id"); > >By the time the apache-request object has been created, args are >handled in a separate slot. > That worked. Maybe this should be documented somewhere

Re: setting query in PerlTransHandler

2000-01-09 Thread Randal L. Schwartz
> "Ajay" == Ajay Shah <[EMAIL PROTECTED]> writes: Ajay> /articles/10/index.html => /articles/index.html?id=10 Ajay> This is what I tried. Ajay> sub handler { Ajay> my $r = shift; Ajay> my $uri = $r->uri; Ajay> my ($id) = ($uri =~ m|^/articles/(.*?)/|); Ajay> my $newuri =

setting query in PerlTransHandler

2000-01-09 Thread Ajay Shah
This maybe be repeated becuase I sent the first message via Geo Crawlere and don't know how long they are going to take to review the message. Sorry if it comes in twice. I am writing a simple PerlTransHandler that is going to change the request into another with query string. The following is wh