how to match null referer
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Squid > how to match null referer




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    how to match null referer  
Jianbin Xiao


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-05-07 06: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.






[ Post a follow-up to this message ]



    Re: how to match null referer  
ÀÏÐì


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-06-07 06:14 PM

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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:19 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register