perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: mod_rewrite is working strangely while using mod_perl
Date Sun, 07 Oct 2007 14:39:51 GMT


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message