unrecognized: ‘httpd_accel virtual 80’

Trying to install a Transparent Squid Proxy?

Keep getting the error message:

  • 2009/02/13 17:09:31| parseConfigFile: line 15 unrecognized: ‘httpd_accel_host virtual’
    2009/02/13 17:09:31| parseConfigFile: line 16 unrecognized: ‘httpd_accel_port 80’
    2009/02/13 17:09:31| parseConfigFile: line 17 unrecognized: ‘httpd_accel_with_proxy on’
    2009/02/13 17:09:31| parseConfigFile: line 18 unrecognized: ‘httpd_accel_uses_host_header on’

?

Squid deprecated that format you can now replace all of that section with

  • http_port host:port transparent

Which in my case is:

  • http_port 3128 transparent

Voilà !