Search squid archive

Re: Battling with setting up reverse proxy with URL rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

Noted inside..

On 10/17/2013 12:57 AM, Ali Kheyrollahi wrote:
Hi all,

I have read wiki, looked through many examples, googled, etc but could
not find the answer.

I would like to use Squid in dev environments to replicate part of the
functionality provided by AKAMAI so that we can test in our local
boxes and test streams. It might be something obvious but let me show
you my requirement:

I would like to (this is a minimal scenario)

1) set up a reverse proxy on my local machine on port 3128 (or any)

2) have 3 servers, lets call their hostnames: host.serv1, host.serv2
and host.serv3

3) I would like / (root URL) to go to host.serv1
4) I would like /foo  to go to host.serv2
5) I would like /bar  to go to host.serv2/baaaz
you maybe talking about  host.serv3 ^^ ??
Without url_rewrite or any other way that will make the request uinque there is no such way..(there can be a url_rewrite on the web service also which will be very easy to implement and much efficient)
use three different url schemes like:
all that starts with foo go to host2
all that starts with bar go to host3
all the rest go to host1

If it looks good to you Notify me and I will try to compile an example.

Eliezer


I prefer not to use URL_Rewrite feature if I do not have to.
Can you please show me a minimal set up please or point me to the
right documentation?

Many thanks
Ali






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux