Re: Intro

From: Robert Collins <robertc@dont-contact.us>
Date: Wed, 07 May 2008 11:48:21 +1000

On Tue, 2008-05-06 at 15:48 -0400, Michael Conlen wrote:
> Hey, I'm the systems manager and developer for a business with a
> significant internet presence which uses squid to cache static content
> to reduce load from the apache cluster to the NFS server. I'm
> interested in modifying squid to to pass the referer header value to a
> redirector so that I can rewrite URLs to protect image files from
> being hot linked. I'll ask specific questions in a separate email
> unless someone happens to beat me over the head with something I've
> just completely missed googling for information.

"external_acl_type FOO %{Referer} /your/program
acl bad_referer FOO
http_access deny bad_referer
"

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Wed May 07 2008 - 01:48:47 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:04 MDT