beautypg.com

Setting up proxy caching for web service, Blocking web sites from your web server cache – Apple Mac OS X Server (Administrator’s Guide) User Manual

Page 345

background image

Web Service

345

Setting Up Proxy Caching for Web Service

A proxy lets users check a local server for frequently used files. You can use a proxy to speed
up response times and reduce network traffic. The proxy stores recently accessed files in a
cache on your Web server. Browsers on your network check the cache before retrieving files
from more distant servers.

To take advantage of this feature, client computers must specify your Web server as their
proxy server in their browser preferences.

To set up a proxy:

1

In Server Settings, click the Internet tab.

2

Click Web and choose Configure Web Service.

3

Click the Proxy tab and select Enable Proxy.

4

Set the maximum cache size.

When the cache reaches this size, the oldest files are deleted from the cache folder.

5

Type the path name for the folder in the Cache Folder field.

You can also click the Select button and browse for the folder you want to use.

If you are administering a remote server, file service must be running on the local machine to
use the Select button.

If you change the folder location from the default, you will have to select the new folder in
the Finder, select Get Info and change the owner and group to www.

6

Click Save, then restart Web service.

Blocking Web Sites From Your Web Server Cache

If your Web server is set up to act as a proxy, you can prevent the server from caching
objectionable Web sites.

You can import a list of Web sites you want to block. The list must be a text file with the host
names separated by white space (lines, spaces, or tabs).

To block Web sites:

1

In Server Settings, click the Internet tab.

2

Click Web and choose Configure Web Service.

3

Click the Proxy tab and select Enable Proxy.

Important

To take advantage of this feature, client computers must specify your Web server

as their proxy server in their browser preferences.

This manual is related to the following products: