Sun Java System Web Server 7.0 Administrator's Configuration File Reference

Resolving Variables

    The server uses the following order when attempting to resolve a $variable:

  1. Predefined variables

  2. Variables defined at request time using set-variable in obj.conf

  3. Variables defined by the virtual-server element's variable subelement in server.xml

  4. Variables defined by the server element's variable subelement in server.xml

When you define a $variable at request time, it is stored as a name-value pair in the rq->vars pblock. These variables are given a higher precedence than server.xml variables so that server.xml variables can be overridden at request time.