
These rules assume that the Web server and Squid are running on the same machine.
If the communication between the cache manager and Squid originates at the Web
server on another computer, include an extra ACL as in
Example 41.2, “Access Rules”
(page 795).
Example 41.2
Access Rules
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl webserver src 192.168.1.7/255.255.255.255 # webserver IP
Then add the rules in
Example 41.3, “Access Rules”
(page 795) to permit access from
the Web server.
Example 41.3
Access Rules
http_access allow manager localhost
http_access allow manager webserver
http_access deny manager
Configure a password for the manager for access to more options, like closing the cache
remotely or viewing more information about the cache. For this, configure the entry
cachemgr_passwd
with a password for the manager and the list of options to view.
This list appears as a part of the entry comments in
/etc/squid/squid.conf
.
Restart Squid every time the configuration file is changed. Do this easily with
rcsquid reload
.
41.6.3 Viewing the Statistics
Go to the corresponding Web site—
http://webserver.example.org/
cgi-bin/cachemgr.cgi
. Press continue and browse through the different statistics.
More details for each entry shown by the cache manager is in the Squid FAQ at
http://www.squid-cache.org/Doc/FAQ/FAQ-9.html
.
The Proxy Server Squid
795
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......