Eric Cholet wrote: > > On Tuesday, October 19, 1999 4:13 AM, William Deegan [SMTP:[EMAIL PROTECTED]] >wrote: > > How can I change the environment variables that get passed to a perl > > script running under Apache::Registry from a PerlTransHandler? > > > > I'm using the PerlTransHandler to do a sort of dynamic mod_rewrite > > functionality. > > Since you've got mod_perl on both sides, I'd suggest you don't use env > variables (which are expensive). Your Trans handler can just set > package variables which will be picked up by the registry script. > Alternatives are using $r->dir_config, or $r->notes. I'll look into that. For now though all of our scripts are set up to check for an enviroment variable set for some virtual hosts, now we'd like a way to set these same variables using a PerlTransHandler. So how do I go about setting the enviroment variables. Assuming that I don't care about the cost. Thanks, Bill ----------------------------------------------------------------- Buy and sell safely on the Internet with i-Escrow. For details visit http://www.iescrow.com/ -----------------------------------------------------------------
begin:vcard n:Deegan;William tel;fax:650-638-7890 tel;work:650-638-7975 x-mozilla-html:FALSE url:http://www.iescrow.com org:iEscrow,Inc. version:2.1 email;internet:[EMAIL PROTECTED] title:Web Site Operations Manager note:http://www.orangefood.com/baddog adr;quoted-printable:;;1730 South Amphlett Blvd=0D=0ASuite 215;San Mateo;CA;94402; x-mozilla-cpt:;18272 fn:William Deegan end:vcard