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

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 =