httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59371] Warning : Config variable ${myvar} is not defined
Date Sun, 24 Apr 2016 19:18:50 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59371

--- Comment #3 from Ben RUBSON <ben.rubson@gmail.com> ---
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:127.0.0.1:5000]

Thank you Eric !

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message