Httpd_accel, proxy, and localhost evil

From: Mahlon Smith <reich@dont-contact.us>
Date: Fri, 2 Jul 1999 13:24:32 -0700 (PDT)

I've got a squid configuration almost straight out of the box -
httpd_accel and proxy.

Proxy works great, as does the acceleration.

Here's my problem.
If I am using the proxy, and I attempt to access the site that is being
accelerated, I get the access denied.

Apache is running on port 85, listening on localhost.
Squid on 80.
Here's a few parts from my squid.com, everything else is standard.

-------------------------------------------------------
http_port 80

httpd_accel_host 127.0.0.1
httpd_accel_port 85

httpd_accel_with_proxy on

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 85 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow all
---------------------------------------------------------

I've tried every acl combo I can think of, including

http_access allow localhost
http_access allow manager
http_access allow all

It seems that squid shouldn't be denying _anything_ with that config, yet
is still hates localhost accesses. Help/ideas/direction to something I
missed in the FAQ would be appreciated.

Mahlon

 --
Mahlon Smith
InternetCDS
http://www.internetcds.com
Received on Fri Jul 02 1999 - 14:09:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:16 MST