tor 2007-06-07 klockan 09:53 +0200 skrev bret.jerome:
> My site run on port 80 on the 172.17.0.1
> But my proxy cache squid run on port 3128 on 192.168.150.1
> In my squid.conf, i have just this 2 lines :
> http_port 3128 # for proxy cache
> http_port 3128 accel defaultsite=SITE # for accelerator proxy
>
> I don't understand what is the defaultsite... The IP address
> of the server ? the name of the server ?
You can't have two http_port with the exact same port (at least not
without also binding them to different IPs on the server)
What I would expect your configuration to look like is something like
the following:
http_port 80 accel defaultsite=your.web.site
http_port 3128
This to make Squid act as a reverse proxy for your.web.site on port 80,
and a forward Internet proxy on port 3128.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT