Re: [squid-users] Preventing Hotlinking

From: John Neiberger <[email protected]>
Date: Sat, 11 Mar 2006 07:52:16 -0700

> > Thanks! I was taking a quick look through the documentation and I
> > didn't see the referrer ACL, although I saw a number of other fields
> > from which I could create ACLs.
>
> from the squid.conf documentation
>
> acl aclname referer_regex [-i] regexp ...
> # pattern match on Referer header
> # Referer is highly unreliable, so use with care
>
> then there is also
>
> acl aclname req_header header-name [-i] any\.regex\.here
> # regex match against any of the known request headers. May be
> # thought of as a superset of "browser", "referer" and "mime-type"
> # ACLs.
>
> and
>
> referer_log
>
> Squid will write the Referer field from HTTP requests to the
> filename specified here. By default referer_log is disabled.
>
>
> Regards
> Henrik

That's what I was hoping to find. I think it's about time we dumped
Stratacache and went with a couple of linux boxes running Squid. Does
Squid work pretty well as a reverse proxy? I've heard good things
about it in the past but I haven't been keeping up with it.

Thanks!
John
Received on Sat Mar 11 2006 - 07:52:18 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST