|
Home > Archive > Squid > April 2007 > how to match null referer
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to match null referer
|
|
| Jianbin Xiao 2007-04-05, 1:15 am |
| hi,everyone:
I want to match null referer in my squid(2.6-STABLE12) server, and
I use directive in squid.conf like:
acl nullreferer referer_regex ^$
but it doesn't work. Pls help me.
Thanks.
| |
|
| Interesting I had same issue just now.
It works for me when use Apache's filter:
SetEnvIfNoCase User-Agent ^$ keep_away
Deny from env=3Dkeep_away
Squid did not support yet?
On 4=D4=C25=C8=D5, =CF=C2=CE=E71=CA=B156=B7=D6, "Jianbin Xiao" <xia...@gmai=
l=2Ecom> wrote:
> hi,everyone:
>
> I want to match null referer in my squid(2.6-STABLE12) server, and
> I use directive in squid.conf like:
> acl nullreferer referer_regex ^$
> but it doesn't work. Pls help me.
> Thanks.
|
|
|
|
|