Re: [squid-users] proxy client autoconfig

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 15 Jun 2002 03:04:01 +0200

On Saturday 15 June 2002 01:34, Mike Robinson wrote:

> 1. If I set the client(s) (IE and/or Mozilla) manually, I see hits
> and misses in the access.log as one would expect. If I use the
> recommended autoconfig java script Example #1 (from
> http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.htm
>l), I never see anything in the log but their reading the script
> file. It's as if the proxy is transparent or something. The script
> basically says if the specified internal domain is requested, use
> DIRECT else return PROXY proxyhostip:proxyport.

Sounds like there is an error in your script, causing it to be ignored
by the browsers.

> 2. I'm using a file-based acl where if the client's IP is present,
> proxying is allowed, otherwise not. What I want is to allow access
> to an internal web server (not on the same host as the proxy) to
> all my internal addresses, and only allow proxying if the client is
> in the above acl file. The internal web server is also the source
> for the script in item 1 as I'd prefer not to run another web
> server on the proxy.

The key here is the order of your http_access lines. The http_access
lines are processed in the order listed in squid.conf.

Regards
Henrik
Received on Fri Jun 14 2002 - 19:15:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:42 MST