Re: [squid-users] Re: Forward requests to local copy of website

From: Henrik Nordstrom <[email protected]>
Date: Wed, 11 Oct 2006 16:16:59 +0200

ons 2006-10-11 klockan 14:19 +0200 skrev Yonah Russ:

> For example, when using the proxy, all requests for company.com,
> www.company.com, cache.company.com, etc. should go to the machine
> 10.1.1.1
> If possible, I want to be able to select a port as well.
>
> Once this is working I want to set up multiple instances where each
> instance will point to a different development server.

Apart from using a redirector to rewrite the URL you can also forward
requests in this manner using cache_peer + cache_peer_access +
never_direct. This method is very suitable if the other server is
supposed to act exacly like the real web site, including it's name.

Regards
Henrik

Received on Wed Oct 11 2006 - 08:17:08 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST