Configuring Http Locations - AudioCodes Mediant 4000 SBC User Manual

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

Advertisement

CHAPTER 16    Services
Parameter
'URL Prefix'
url-prefix
[HTTPProxyService_
URLPrefix]
'Keep-Alive Mode'
keep-alive-mode
[HTTPProxyService_
KeepAliveMode]

Configuring HTTP Locations

The HTTP Locations table lets you configure up to 40 HTTP Locations. Locations are specified for
each HTTP proxy server to map the incoming requests received by that server. Mapping is based
on matching the URL in the request. Each location specifies the URL prefix or pattern to match and
the target Upstream Group to which the request is to be forwarded to.
The HTTP Locations table is a "child" of the HTTP Proxy Servers table (see
Proxy Servers
the NGINX configuration file. This may be used to specify unique handling of URLs by file type
(using a regex pattern) or by pathname (using a Prefix or Exact Match pattern).
The following procedure describes how to configure HTTP Locations through the Web interface.
You can also configure it through ini file [HTTPLocation] or CLI (configure network > http-
proxy > location).
To configure an HTTP Location:
1.
Open the HTTP Proxy Servers table (Setup menu > IP Network tab > HTTP Proxy folder >
HTTP Proxy Servers).
2.
In the table, select the required HTTP Proxy Server index row, and then click the HTTP
Locations link located below the table; the HTTP Locations table appears.
3.
Click New; the following dialog box appears:
Defines the URL prefix that is used to access the managed
equipment's embedded Web server. The URL prefix is matched
against the target of the HTTP requests sent by the client (such as
GET and POST). If a match is located in the table, the device
removes the prefix from the request and then forwards the HTTP
request to the managed equipment without the prefix. For example,
for the URL of GET /home/index.html HTTP/1.1 (which is part of the
URL http://10.20.30.40/home/index.html), a URL prefix of "/home"
can be configured. To match all URLs, configure the parameter to "/"
(default).
Enables a keep-alive mechanism with the managed equipment:
[0] Disable
[1] Options = (Default) Enables keep-alive by sending HTTP
OPTIONS messages. If no response is received from the HTTP
host, the device stops forwarding HTTP requests to the host and
raises an SNMP alarm (acHTTPProxyServiceAlarm). If you
configured the address of the host as an FQDN (see
HTTP Proxy
addresses, when no response is received from the keep-alive,
the device checks connectivity with the next resolved IP
address and so on, until a response is received.
on page 263), reflecting the nesting of Location contexts within Server contexts in
Description
Hosts) and the DNS resolution results in multiple IP
- 266 -
Mediant 4000 SBC | User's Manual
Configuring
Configuring HTTP

Advertisement

Table of Contents
loading

Table of Contents