subprocess_env method will let you get apache's env:
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_
On Fri, Oct 2, 2015 at 6:24 PM, Michael A. Capone <
mcap...@cablewholesale.com> wrote:
> In my code, I do:
>
>
> SetEnvIf Request_URI \.gif$ gif-image
> Set
In my code, I do:
SetEnvIf Request_URI \.gif$ gif-image
SetHandler modperl
PerlResponseHandler MyNiftyModule
PerlOptions +SetupEnv
And then, yes, I have access to $ENV{'gif-image'}, with a value of "1".
Alternatively, i can
SetEnvIf Request_URI \.gif$ gif-image=YES
... and
Hi again.
Assuming this kind of configuration :
SetEnvIf Request_URI \.gif$ gif-image
SetHandler modperl
PerlResponseHandler MyNiftyModule
..
is there any way, in MyNiftyModule, to "get at" this "gif-image" variable ?
Such as, would I find it as $ENV{'gif-image'} ?
What kind of t