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:
- user@host# edit redirect-server
- [edit redirect-server]
- user@host# set destination-url destination-url
- [edit redirect-server]
- user@host# set tcp-port tcp-port
- [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.