Marco Bretschneider wrote: > Hi again, > >> please explicitly add >> >> +SetupEnv >> >> to your PerlOptions under /folder > > added this option - same effect. > >> so, I'd like you to try a few things... >> >> first, please verify that this is not a problem with mod_cgi as well. >> that is, take your same setup, but use >> >> SetHandler cgi-script >> >> for your test and see if the problem persists. if mod_cgi does the >> right thing then I'll look into it further. > > it turns out, that we do not have this problem using mod_cgi. So, I guess > it's worth to have a closer look at it ;-)
as a workaround, please try adding $r->subprocess_env(); before you examine %ENV. it should force re-population of %ENV from the subprocess_env table, which is where mod_rewrite stashes it's stuff. --Geoff