httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 59371] Warning : Config variable ${myvar} is not defined
Date Sun, 24 Apr 2016 19:18:50 GMT

--- Comment #3 from Ben RUBSON <> ---
Unfortunately, my var value comes from a RewriteMap, so I can't use a different
directive to set it.

I tested some workarounds to switch this warning off.
First one, but does not work, warning still present :
SetEnvIfExpr "'a' == 'b'" myvar

Second one, warning still present :
SetEnv myvar

I also tested addng this in envvars.env file :
export myvar=
Warning went away, but then, the RewriteRule does not overwrite the variable.

I would like to test your variable name workaround, but how do you define a
variable name with a embedded ":" in the following rule ? (as ":" is the
separator between the variable name and its value)
RewriteRule .* - [E=myvar:]

Thank you Eric !

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message