Fortinet Document Library

Version:


Table of Contents

5.3.0
Download PDF
Copy Link

LB commands

LB:routing(value)

Route the request to the content routing server.

Syntax

LB:routing(value);

Arguments

Name Description

value

A string which specifies the content routing to route.

Examples

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 enable both content-routing and scripting, then will perform cross check, check the content-routing used in scripting is used to the vs.

FortiADC version: V4.3

Used in events:

Used in HTTP_REQUEST / HTTP_DATA_REQUEST

LB commands

LB:routing(value)

Route the request to the content routing server.

Syntax

LB:routing(value);

Arguments

Name Description

value

A string which specifies the content routing to route.

Examples

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 enable both content-routing and scripting, then will perform cross check, check the content-routing used in scripting is used to the vs.

FortiADC version: V4.3

Used in events:

Used in HTTP_REQUEST / HTTP_DATA_REQUEST