To configure the alternate server for the URL specified, use the command http redirect in Global Configuration Mode. The no form of the command removes the redirection entry added to the server specified for the URL.
Parameter | Type | Description |
---|---|---|
<URL to be redirected>
|
/url | Enter to specify the URL which has to be redirected. On receiving request for the URL, a redirection status is sent as response for the request. |
server
|
Enter to set the server for the URL which is redirected. The options are: | |
<Domain name>
|
Enter to set the domain name of the alternate server. | |
|
Enter to set the IP address of the alternate server in v4 format. | |
<IPv6 Address>
|
Enter to specify the IP address of the alternate server in v6 format. |
Global Configuration Mode
iS5Comm(config)# http redirect /sample/ server 12.0.0.2