CentOS 6 Squid Proxy error

If you want to use squid in transparent proxying mode, you need to change the following line:

http_port 3128

to read:

http_port 3128 accel vhost allow-direct

For older versions of squid (I think before squid3), you can just write:

http_port 3128 transparent