Name

http_access

Synopsis

The http_access directive is one of the most important aspects of your configuration. It determines whether or not Squid allows or denies a client’s request. If you don’t get your access-control rules just right, savvy Internet users can abuse your resources (e.g., bandwidth, disk storage, address space). Some people find the access control rule syntax confusing. Be sure to read Section 6.2 closely.

Syntax

http_access allow|deny [!]ACLname ...

Default

http_access deny all

Example

http_access allow MyClients

Related

acl, http_reply_access, miss_access, icp_access

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.