LB:routing(value)
Routes the request to the content routing server.
Syntax
LB:routing(value);
Arguments
| Name | Description |
|---|---|
|
value |
A string which specifies the content routing to route. |
Events
Applicable in the following events:
-
HTTP_REQUEST
-
HTTP_DATA_REQUEST
Example
when HTTP_REQUEST {
LB:routing(“content_routing1”);
}
--supports multiple routing
LB:routing(“cr1”)
LB:routing(“cr2”)
--It will be routed to cr2; the final one prevails.
Note:
When a VS enables both content-routing and scripting, then this function will perform a cross-check to check the content-routing used in scripting is applied to the VS.
Supported Version
FortiADC version 4.3.x and later.