ltm rule command ADAPT allow
iRule(1) BIG-IP TMSH Manual iRule(1)
ADAPT::allow
Sets or returns the value of a boolean property.
SYNOPSIS
ADAPT::allow (ADAPT_CTX)? ('http_v1.0') (ADAPT_SIDE)? (BOOLEAN)?
DESCRIPTION
The ADAPT::allow command sets or returns the value of one of a set of
boolean 'allow' properties for the current or specified side of the
virtual server connection for which the iRule is being executed. They
are not part of the profile and therefore cannot be accessed via tmsh
or the GUI.
Syntax:
ADAPT::allow []
* Gets the property value for the current side
ADAPT::allow [] request
* Gets the property value for the request-adapt side
ADAPT::allow [] response
* Gets the property value for the response-adapt side
ADAPT::allow []
* Sets the property value for the current side
ADAPT::allow [] request
* Sets the property value for the request-adapt side
ADAPT::allow [] response
* Sets the property value for the response-adapt side
The optional argument applies the command to a specific
context. Useful when there are dynamic contexts. If "request" or
"response" is specified, the context must be on the appropriate side
(client or server, respectively).
A value may be described by any of these notations:
* 0 / 1
* false / true
* disable / enable (recommended)
* no / yes
The following values are supported:
http_v1.0
Allow adaptation of HTTP v1.0 requests/responses.
By default, only HTTP v1.1 requests and responses are
sent to the IVS for adaptation.
RETURN VALUE
Returns the current of modified value of the property.
VALID DURING
HTTP_REQUEST, HTTP_RESPONSE, HTTP_PROXY_REQUEST, ADAPT_REQUEST_RESULT,
ADAPT_RESPONSE_RESULT
EXAMPLES
when HTTP_REQUEST {
ADAPT::allow http_v1.0 enable
ADAPT::allow http_v1.0 response enable
}
when HTTP_RESPONSE {
ADAPT::allow http_v1.0 yes
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.4.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)