Brad,
I think you're all set on the http_port tag (xx.xx.xx.xx:port) and yes you
have to have multiple IP addresses on the box to handle the multiple squid
instances.
As far as sharing the cache directory, I don't know of any reason you can't.
The best answer I can give you for why we have them separate is that "we've
always done it that way". Poor answer but the best I can give you.
----- Original Message -----
From: "Brad Taylor" <btaylor@xxxxxxxxxxxx>
To: "Dan DeLong" <ddelong@xxxxxxxxxxxx>; "Squid Users"
<squid-users@xxxxxxxxxxxxxxx>
Sent: Thursday, August 25, 2005 11:15 AM
Subject: RE: [SPAM] - Re: [squid-users] Reverse Proxy Multiple
IP Addresses - Email found in subject
I do see now that http_port allows an IP address in addition to a port.
Thanks for the help.
-----Original Message-----
From: Dan DeLong [mailto:ddelong@xxxxxxxxxxxx]
Sent: Thursday, August 25, 2005 8:54 AM
To: Squid Users
Subject: [SPAM] - Re: Reverse Proxy Multiple IP Addresses
- Email found in subject
You can easily do this by starting multiple squid instances on your 1
squid
box. Start squid with the -f option to point to a unique squid.conf for
each IP address. Make sure each squid.conf has the correct http_port
tag
which is the ip address squid is listening on and the correct
httpd_accel_host and httpd_accel_port for where its passing the info (to
the
real server)
What I've done is create a ./conf/squid.conf ./cache ./logs for each
squid
instance and make sure all the tags in my squid.conf point to the
correct
./cache ./logs etc. This keeps the cache and logs separate for each
instance.
----- Original Message -----
From: "Brad Taylor" <btaylor@xxxxxxxxxxxx>
To: "Squid Users" <squid-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 24, 2005 11:05 AM
Subject: Reverse Proxy Multiple IP Addresses
I'd like to know how to reverse proxy multiple IP addresses or run
multiple squids on one box to do this. They are not different domains so
I can't use host headers. Basically I'd like Squid to accept http
requests on 3 different IP addresses and proxy for 3 different IP
addresses (3 real servers). The 3 real servers have the same content so
I would like to not have to have 3 separate squid boxes.
Can Squid do this, I'm not able to find it anywhere in the FAQ or the
Squid book. Thanks your any help.