Re: [squid-users] How to check HTTP-referer ?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Tue, 4 Dec 2007 12:37:25 +1300 (NZDT)

> Hello Everyone.
> I'm using squid for reverse proxy.
>
> [Client] -> [Squid] -> [Origin Server]
>
> My Origin Server check HTTP-referer. ( eg. www.abc.com )
> As you know, SQUID doesn't have the function to check the http-referer of
> clients.

You using an ancient squid? ACL for headers (req_header, referer_regex)
have been around since 2.6.

NP: It's available, but highly unreliable for ay security.

> But, I want my web server to check it. So, how can I set the
> configuration of SQUID ?

By default squid passes the headers to web server.

>
> For example, I have to accept the access of clients from www.abc.com
>
> Thanks.

Amos
Received on Mon Dec 03 2007 - 16:37:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:01 MST