Jan Welker wrote:
Hi Amos,
That idea sounds interesting. Do you have an example configuration for
that mini-accelerator config?
Just this:
http://wiki.squid-cache.org/SquidFaq/ReverseProxy#head-7fa129a6528d9a5c914f8dd5671668173e39e341
But with the ACL tweaked to include:
acl pacfile urlpath_regex ^/proxy\.pac$
Amos
Thanks,
Jan
On Fri, Nov 7, 2008 at 4:05 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
Jan Welker wrote:
Hi,
We do have three types of client proxy configurations at our company:
1. Direct proxy: proxy.company.com:8080
2. Auto-configuration file: http://proxy.company.com:8080/
3. Auto detect proxy.company.com:80
Clients use ether one of the configuration. The client configuration
can not be changed since we do have a lot of clients.
I redesigned the proxy server since the old one could not handle the
load anymore. The new server runs Squid. Configuration 1 and 3 work
like a charm an I am very happy with it.
My Question for you is:
Is Squid capable of hosting the auto-configuration file? Or is there a
workaround for that?
Not without some tricky config which get purged during any re-installs or
upgrades. It's recommended to run some very lightweight web server
(lighthttpd etc) to provide the PAC file and setup a mini-accelerator config
inside squid to use it.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
Current Beta Squid 3.1.0.1
--
Please be using
Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
Current Beta Squid 3.1.0.1