Re: [squid-users] acl on hostname only

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 19 Jan 2007 21:32:42 +0100

fre 2007-01-19 klockan 15:13 +1000 skrev
William.Z.Holder@transport.qld.gov.au:

> is there a quick way to setup an ACL that works on just the hostname of a
> server?
>
> this is so if anyone puts just the hostname in their browser it will go
> direct, and anything else will go through the proxy

A proxy can not decide on this. It has to be configured in the browser.
Once the browser has decided to send the request to the proxy it has to
be proxied.

The always/never_direct directives is only telling Squid how it should
proxy the request. With never_direct you force Squid to proxy the
request to another proxy server, and with always_direct you force Squid
to not use another proxy server.

Regards
Henrik

Received on Fri Jan 19 2007 - 13:32:48 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST