On Tue, Jun 30, 2020 at 11:20 AM Christopher Schultz
<[email protected]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> All,
>
> Is it possible to "copy" an environment variable to another name?
> Something like this:
>
> SetEnv foo "bar"
> SetEnv baz ${foo}e
>
> Now, "baz" has value "bar".
If it's set early enough, try SetEnvIf instead. The 2nd parameter can
be an existing variable and the value can be a backreference.
If it's not set early enough, you can do a no-op RewriteRule .* -
[E=baz:%{ENV:foo}]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]