SPUEditVar is a position-independent config.txt directive that can appear anywhere in config.txt.

SPUEditVar is used to assign values to variables that are used with SPUEdit directives. SPUEditVar can be used to establish site-specific values that are used in conjuction with generic SPUEdit rules for rerouting access to specific URLs.

Sample use:

SPUEditVar variable1= value1
SPUEditVar variable2= value2

Defined variables can be referenced in the replacement portion of SPUEdit directives with the syntax ${ variable}. You can use $e{ variable} for the variable's URL percent-encoded value.

See also