CHAPTER 16 Services
Mediant 4000 SBC | User's Manual
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
Description
General
'Index'
[HTTPLocation_Index]
Defines an index number for the new table row.
Note:
■
Each row must be configured with a unique index.
■
The parameter is mandatory.
'URL Pattern'
url-pattern
[HTTPLocation_
URLPattern]
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".
'URL Pattern Type'
url-pattern-type
[HTTPLocation_
URLPatternType]
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 -
Summary of Contents for Mediant 4000 SBC
Page 1: ...User s Manual AudioCodes Series of Session Border Controllers SBC Mediant 4000 SBC Version 7 2...
Page 40: ...Part I Getting Started with Initial Connectivity...
Page 48: ...Part II Management Tools...
Page 113: ...Part III General System Settings...
Page 118: ...Part IV General VoIP Configuration...
Page 525: ...Part V Session Border Controller Application...
Page 654: ...Part VI Cloud Resilience Package...
Page 663: ...Part VII High Availability System...
Page 685: ...Part VIII Maintenance...
Page 759: ...Part IX Status Performance Monitoring and Reporting...
Page 844: ...Part X Diagnostics...
Page 888: ...Part XI Appendix...