FC2 + apache + squid + httpd.conf

Joe Orton jorton at redhat.com
Fri Jun 25 11:36:45 UTC 2004


On Thu, Jun 24, 2004 at 06:45:46PM -0700, Ow Mun Heng wrote:
> Next, you should ensure that only specified workstations can access the
> cache manager. That is done in your Apache httpd.conf, not in
> squid.conf. At the bottom of httpd.conf file, insert:
> 
>         <Location /Squid/cgi-bin/cachemgr.cgi>
>         order allow,deny
>         allow from workstation.example.com
>         </Location>

To only allow access from workstation.example.com, use:

  Order deny,allow
  Deny from all
  Allow from workstation.example.com

Regards,

joe





More information about the fedora-list mailing list