Marco Bretschneider wrote:
> Hi,
> 
> I reported a bug that seems to be related to mod_rewrite of apache.
> It turns out, that the problem only occurs while using mod_perl.
> Note, that everything else is working fine with mod_perl. Anyway I'm
> not quite sure where this bug belongs to (mod_perl or mod_rewrite). I
> was asked to report a bug to your list too. Please have a look at
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=43514

please explicitly add

  +SetupEnv

to your PerlOptions under /folder

fwiw, I just added a test for this to the mod_perl svn sources - it's
not an .htaccess-based test but it does show env variables coming through.

for the most part, the env communication between mod_rewrite and anyone
else (mod_perl, mod_cgi, whomever) is pretty simple and clear -
mod_rewrite populates the subprocess_env table, then mod_cgi or mod_perl
calls a core apache API to populate %ENV at content-generation time.

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.

--Geoff


Reply via email to