beautypg.com

Creating the cache group, Redirecting http traffic on an interface – Cabletron Systems SmartSwitch User Manual

Page 241

background image

SmartSwitch Router User Reference Manual

241

Chapter 15: Web Hosting Configuration Guide

Creating the Cache Group

You can specify either a range of IP addresses or a list of up to four IP addresses to define
the servers when the cache group is created. If you specify multiple servers, load
balancing is based on the destination address of the request. If any cache server fails,
traffic is redirected to the other active servers.

To create the cache group, enter the following command in Configure mode:

Specifying the Client(s) for the Cache Group (Optional)

You can explicitly specify the hosts whose HTTP requests are or are not redirected to the
cache servers. If you do not explicitly specify these hosts, then all HTTP requests are
redirected to the cache servers.

To specify the clients or non-clients for the cache group, enter the following commands in
Configure mode:

Redirecting HTTP Traffic on an Interface

To start the redirection of HTTP requests to the cache servers, you need to apply a caching
policy to a specific outbound interface. This interface is typically an interface that connects
to the Internet.

Note:

By default, the SSR redirects HTTP requests on port 80. Secure HTTP (https)
requests do not run on port 80, therefore these types of requests are not redirected
by the SSR.

To redirect outbound HTTP traffic to the cache servers, enter the following command in
Configure mode:

Create the cache group.

web-cache

create server-list

range

range>

|list

Define hosts whose requests are
redirected to cache servers.

web-cache

permit hosts

range

|list

|

acl

name>

Define hosts whose requests are
not redirected to cache servers.

web-cache

deny hosts

range

|list

|

acl

name>

Apply caching policy to
outbound interface.

web-cache

apply interface