Quote:
Originally posted by peter_robb
Looks like your transparent settings are incorrect..
As a minimum you need..
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_single_host off
httpd_accel_uses_host_header on
Make squid listen to only 127.0.0.1 port 80
eg http_port 127.0.0.1:80
and change your REDIRECT for port 80
eg iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
|
Well I already have these lines in my squid.conf
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_single_host off
httpd_accel_uses_host_header on
I will try your following tips then let you know.
Make squid listen to only 127.0.0.1 port 80
eg http_port 127.0.0.1:80
and change your REDIRECT for port 80
eg iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT