Search squid archive

Re: Preventing Hotlinking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux