Manage HTTP Options

The Manage HTTP Options task is used to configure various options to be used by the gateway for HTTP/HTTPS connections. For example, you can configure the login credentials for an HTTPS host, define a proxy for the host, or specify a private key to be used for authentication. This task is also used to edit the default HTTP proxy settings.
gateway91
The
Manage HTTP Options
task is used to configure various options to be used by the 
Layer7 API Gateway
for HTTP/HTTPS connections. For example, you can configure the login credentials for an HTTPS host, define a proxy for the host, or specify a private key to be used for authentication. This task is also used to edit the default HTTP proxy settings.
Only users with the role of 'Administrator' can create, edit, or remove HTTP options. Users in the following roles are able to view HTTP options:
  • Manage Web Services
  • Manage <name> Policy
  • Manage <name> Service
  • Operator
  • Publish Web Services
For more information, see Predefined Roles and Permissions.
The HTTP options do not apply to HTTP routing, only to other HTTP(S) connections.
To manage HTTP options
:
  1. In the Policy Manager, select
    [Tasks] > Transports > Manage HTTP
    Options 
    from the Main Menu (on the browser client, from the Manage menu).
    The Manage HTTP Options dialog appears. 
    The current default HTTP Proxy is shown (if one has been set). The list shows the HTTP options that have been defined. 
  2. Configure the dialog as follows:
Setting
Description
Default HTTP Proxy
Displays the current default HTTP proxy host and port number (for example, myproxy:8888).
To change the default proxy, click [
Change
] and then complete the following fields in the Edit Default HTTP Proxy dialog:
  1. Enter the Host name of the new default proxy.
  2. Enter the Port number for the proxy.
  3. Enter the Username to log in to the host.
  4. From the drop-down list, select the Password to use to log in. If the password you require is not listed, click [
    Manage Stored Passwords
    ] to add it to the list of stored passwords. For more information, see Manage Stored Passwords.
You cannot type the password directly here; it must be defined in the Gateway secure password storage.
<options list>
The list of HTTP options that have been defined. The following information is shown for each item:
  • Host
    : Hostname or IP address of the HTTP server.
  • Port
    : Port number of the HTTP server.
  • Protocol
    : Protocol used by the HTTP server: HTTP, HTTPS, or <Any>.
  • Path
    : The URL path prefix to match, which may include a query string.
  • Proxy
    : The proxy host and port number.
[Add]
Adds a new item to the list. For more information, see Adding an HTTP Option.
[Clone]
Creates a new HTTP option by copying an existing one. Select the item to be cloned and then click [
Clone
]. Edit the fields as required. For more information about the fields, see Adding an HTTP Option.
[Edit]
Modifies the selected item. For information about the fields, see Adding an HTTP Option.
[Remove]
Removes the selected item from the list. Click [
OK
] to confirm.
3.  Click [
Close
] when done.