Configuring General Properties for the Redirect Server (SRC CLI)

Use the following configuration statements to configure general properties for the redirect server:

redirect-server {
destination-url destination-url;
tcp-port tcp-port;
refresh;
}

To configure properties for the redirect server:

  1. From configuration mode, access the configuration statement that configures the redirect server.
      user@host# edit redirect-server
  2. Specify the URL to which to send subscriber traffic.
      [edit redirect-server]
      user@host# set destination-url destination-url
  3. (Optional) Specify the TCP port on which the redirect server listens for requests.
      [edit redirect-server]
      user@host# set tcp-port tcp-port
  4. (Optional) Specify whether the redirect server sends an HTTP 200 OK response with an HTML document that includes the <HTTP-Equiv="Refresh"> header to a subscriber’s browser in response to a captured request.
      [edit redirect-server]
      user@host# set refresh

    If you do not use the refresh option, the redirect server sends an HTTP 302 Found response to a subscriber’s browser in response to a captured request.

    By setting the refresh option, the load on the Web server is decreased because non-browser (or non-HTML) client applications that use HTTP do not follow this refresh message; however, most client applications do follow HTTP 302 messages.