AudioCodes Mediant 4000 SBC User Manual page 300

Session border controllers
Hide thumbs Also See for Mediant 4000 SBC:
Table of Contents

Advertisement

CHAPTER 16    Services
4.
Configure an HTTP Location according to the parameters described in the table below.
5.
Click Apply, and then save your settings to flash memory.
Table 16-21:HTTP Locations Table Parameter Descriptions
Parameter
General
'Index'
[HTTPLocation_Index]
'URL Pattern'
url-pattern
[HTTPLocation_
URLPattern]
'URL Pattern Type'
url-pattern-type
[HTTPLocation_
URLPatternType]
Defines an index number for the new table row.
Note:
Each row must be configured with a unique index.
The parameter is mandatory.
Defines the URL pattern. Received GET or POST requests are
matched against the locations in the HTTP Locations table by
matching the URL in the received request to the URL configured by
this parameter. If there is a match, the prefix is stripped from the
request and then forwarded in the outgoing HTTP request.
Note:
The pattern must be based on the pattern type configured in the
'URL Pattern Type' parameter (see below).
The NGINX directive for this parameter is "location modifier
pattern".
Defines the type of URL pattern used for configuring the 'URL
Pattern' parameter (see above).
[0] Prefix = For Example, "/" matches any URL beginning with a
forward slash "/". For NGINX, this option has no modifier.
[1] Exact = Defines an exact pattern to match, for example,
"/abc/def" matches only the file "/abc/def". For NGINX, this
option is specified using the "=" modifier.
[2] Regex = Regex-based pattern (case sensitive), for example,
"/files/*.img" matches all files ending in .img in the directory
/files. For NGINX, this option is specified using the "~" modifier.
[3] Case-Insensitive Regex = Regex-based pattern that is
case-insensitive, for example, "*.img" matches abc.IMG as well
as xyz.img. For NGINX, this option is specified using the "~*"
modifier.
[4] Prefix Ignore Regex = For NGINX, this option is specified
using the "^~" modifier.
For example, assume that you have configured the following URL
patterns for four HTTP Locations:
1) /files – Prefix pattern type
- 267 -
Mediant 4000 SBC | User's Manual
Description

Advertisement

Table of Contents
loading

Table of Contents