Search squid archive

RE: proxy.pac config

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

 



Thanks Adrian it works!  I could see that it shift to the other server when
I manually shutdown squid. 

Now, this could be a harder (for a noob like me).  What if I have 500
workstation, so I have to config each browser to use my new pac file, is
there a way that this pac will eventually force all browser to use pac.
Like blindly install pac on their browser when they go directly to port 80.

Thanks

-----Original Message-----
From: Adrian Chadd [mailto:adrian@xxxxxxxxxxxxxxx] 
Sent: Friday, May 11, 2007 9:37 AM
To: SSCR Internet Admin
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  proxy.pac config

On Fri, May 11, 2007, SSCR Internet Admin wrote:
> Hi,
> 
>  
> 
> I wanted to ask if this is possible.  Ive just installed a second squid
> server and was wondering if I could create somewhat a loadbalancing
without
> using TCP-loadbalancer or HA by using a proxy.pac that is capable of
> detecting a busy/failed server and connect to the next available proxy
> server.
> 
>  
> 
>                 Squid 1
> 
> Internet<----------+--------->Workstation(with proxy.pac)
> 
>                 Squid 2

There's plenty of examples of proxy.pac file based load balancing and
failover.
Failover is easy, just give a number of entries in a list, ie:

return "proxy1:3128; proxy2:3128"

And to failover to direct, try:

return "proxy1:3128; proxy2:3128; DIRECT"

let me know if this doesn't work.



Adrian



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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

  Powered by Linux