Sun Java System Web Server 6.1 SP6 Administrator's Configuration File Reference

Parameters

The following table describes parameter values for the set-variable function.

Table 4–7 set-variable Parameter Values

Value  

Description  

pblock

One of the following Session/Request parameter block names: 

  • client: Contains the IP address of the client machine and the DNS name of the remote machine. For more information, see the description of the Session->client function in the “Data Structure Reference” chapter of the Sun Java System Web Server 6.1 SP6 NSAPI Programmer’s Guide.

  • vars: Contains the server's working variables, which includes anything not specifically found in the reqpb, headers, or srvhdrs pblocks. The contents of this pblock differ, depending upon the specific request and the type of SAF.

  • reqpb: Contains elements of the HTTP request, which includes the HTTP method (GET, POST, and so on), the URI, the protocol (generally HTTP/1.0), and the query string. This pblock doesn’t usually change during the request-response process.headers: Contains all the request headers (such as User-Agent, If-Modified-Since, and so on) received from the client in the HTTP request. This pblock doesn’t usually change during the request-response process. For more information about request headers, see the “Hypertext Transfer Protocol” chapter of the Sun Java System Web Server 6.1 SP6 NSAPI Programmer’s Guide.

  • srvhdrs: Contains the response headers (such as Server, Date, Content-type, Content-length, and so on) that are to be sent to the client in the HTTP response. For more information about response headers, see the “Hypertext Transfer Protocol” chapter of the Sun Java System Web Server 6.1 SP6 NSAPI Programmer’s Guide.


    Note –

    For more information about parameter blocks, see the Sun Java System Web Server 6.1 SP6 NSAPI Programmer’s Guide.


name

The variable to set. 

value

The string assigned to the variable specified by name.