Re: [SQU] Reverse proxy multiple targets

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 07 Sep 2000 22:55:51 +0200

Kailou Anassara wrote:
>
> Thanks for the response.
>
> OK, so what if I have squid listen on different ports and then take a
> different action based on which port receives the request? i.e.
> request: http://squid.domain.com:8080
> Squid sends to: http://target1.domain.com <- port 80
>
> request: http://squid.domain.com:8081
> Squid sends to: http://target2.domain.com <- port 80
>
> I think I've already found the answer to this, but ...
> I read that httpd_accel_host won't differentiate based on port, but
> can squid in general differentiate between port requests?

Same problem. If the server responds with a full URL including it's host
name then you are dead.

Running Squid as an accelerator works best when the request is received
by Squid as it would be received by the real server.

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Sep 07 2000 - 15:09:11 MDT

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