[squid-users] acl on hostname only

From: <William.Z.Holder@dont-contact.us>
Date: Fri, 19 Jan 2007 15:13:10 +1000

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

What I want is...

acl short_hostname dst foo bar (foo and bar are two hosts)
allow_direct allow short_hostname
never_direct allow all

Regards,

Bill Holder
Unix System Administrator
Unix Support Group
Queensland Transport

************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or Maritime Safety Queensland, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************
Received on Thu Jan 18 2007 - 22:14:00 MST

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