2 configuration example, 3 other web-cache options, Configuration example -19 – Riverstone Networks WICT1-12 User Manual

Page 517: Other web-cache options -19, Figure 22-7 web cache configuration -19

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 22-19

Web Hosting Configuration

Web Caching

22.2.2

Configuration Example

In the following example, a cache group of seven local servers is configured to store Web objects for users in the local
network:

Figure 22-7 Web cache configuration

The following commands configure the cache group ‘cache1’ that contains the servers shown in the figure above and
applies the caching policy to the interface ‘ip1’:

Note that in this example, HTTP requests from all hosts in the network are redirected as there are no

web-cache

permit

or

web-cache deny

commands.

22.2.3

Other Web-Cache Options

This section discusses other commands that may be useful in configuring Web caching in your network.

Bypassing Cache Servers

Some Web sites require source IP address authentication for user access, therefore HTTP requests for these sites cannot
be redirected to the cache servers. You can specify the sites for which HTTP requests are not redirected to the cache
servers, as shown in the following example:

rs(config)#

web-cache cache1 create server-list s1 range “176.89.10.50 176.89.10.54”

rs(config)#

web-cache cache1 create server-list s2 list “186.89.10.51 186.89.10.55”

rs(config)#

web-cache cache1 apply interface ip1

rs(config)# web-cache testweb1 create bypass-list range “135.142.179.14

135.142.179.21”

5RXWHU















V 6HUYHUV

V 6HUYHUV

&DFKH

*OREDO ,QWHUQHW

LS

8VHUV

Advertising