Forum Discussion
Max_Q_factor
Feb 27, 2015Cirrocumulus
Replace your
static::
with a class lookup from:
CMP Compatibility: Global Variables
Not CMP compatible:
set val "$::www_redir https://${host}:${port}[HTTP::uri]\r\n$::www_opts"
CMP compatible (v9.x):
set val "[findclass "www_redir" global_vars " "] https://${host}:${port}[HTTP::uri]\r\n[findclass "www_opts" global_vars " "]"
To support this lookup, you will need to add a new class w/ the appropriate values for each key:
class global_vars { “www_redir xxxxxx” “www_opts xxxxxx” }
Note: In 9.4.4 and higher, when referencing the class with the findclass or matchclass commands you should not use ::
or $:: prefix