[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Configuring General Properties for the Redirect Server

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.
  2. user@host# edit redirect-server
    
    
    
  3. Specify the URL to which to send subscriber traffic.
  4. [edit redirect-server]
    
    user@host# set destination-url destination-url
    
    
    
  5. (Optional) Specify the TCP port on which the redirect server listens for requests.
  6. [edit redirect-server]
    
    user@host# set tcp-port tcp-port
    
    
    
  7. (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.
  8. [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.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]