| setcrvserver_redirect |
Use this method to set type of server to which to redirect HTTP requests. Available settings function as follows: * CACHE - Direct all requests to the cache.* POLICY - Apply the cache redirection policy to determine whether the request should be directed to the cache or to the origin.* ORIGIN - Direct all requests to the origin server. |
Syntax |
Parameters |
name |
Name of the cache redirection virtual server. This is mandatory parameter. |
redirect |
Type of server to which to redirect HTTP requests. Available settings function as follows: * CACHE - Direct all requests to the cache.* POLICY - Apply the cache redirection policy to determine whether the request should be directed to the cache or to the origin.* ORIGIN - Direct all requests to the origin server. Default value = CRD_POLICY. Possible Values : CACHE, POLICY, ORIGIN. |
Return Value |
Returns simpleResult |
See Also |