Re: [squid-users] Re: need help port 80

2010-04-14 Thread John Doe
From: "da...@lafourmi.de" 
> acl OnlyFox browser -i Firefox/
> http_access deny !OnlyFox
> but with internet explorer i can surf?

I think the following is easier to read:
  http_access allow OnlyFox
  http_access deny all
Can you list all your http_access lines, or the whole config?
I guess you checked that squid is indeed used...?

JD


  


Re: [squid-users] Re: need help port 80

2010-04-14 Thread da...@lafourmi.de

good morning everybody,

thanks at first for your helpi htink iam a dummy :)

i have wrote:

acl OnlyFox browser -i Firefox/
http_access deny !OnlyFox

and second test:

acl OnlyFox browser -i .*Firefox.*
http_access deny !OnlyFox

but with internet explorer i can surf?

can someone help me, that really only firefox can access internet and no 
other tool...


thanks for regard
dave



Amos Jeffries schrieb:

On Tue, 13 Apr 2010 21:54:40 +0200, Heinz Diehl 
wrote:
  
On 13.04.2010, da...@lafourmi.de wrote: 



but i dont understand
regexp  pattern match on user agent
  
 


can you give me an example for dummies please ;)
  

acl Nofox browser -i .*Firefox.*
http_access deny Nofox



Ouch. very computing intensive.
I don't know why you people insist on sticking .* before and aft of the
pattern.
When that is processed in by Squid it becomes:
  .*.*Firefox.*.*

Just this will do to catch the browser tag:
  acl firefox browser Firefox/

Amos


  




Re: [squid-users] Re: need help port 80

2010-04-13 Thread Amos Jeffries
On Tue, 13 Apr 2010 21:54:40 +0200, Heinz Diehl 
wrote:
> On 13.04.2010, da...@lafourmi.de wrote: 
> 
>> but i dont understand
>> regexp  pattern match on user agent
>  
>> can you give me an example for dummies please ;)
> 
> acl Nofox browser -i .*Firefox.*
> http_access deny Nofox

Ouch. very computing intensive.
I don't know why you people insist on sticking .* before and aft of the
pattern.
When that is processed in by Squid it becomes:
  .*.*Firefox.*.*

Just this will do to catch the browser tag:
  acl firefox browser Firefox/

Amos



[squid-users] Re: need help port 80

2010-04-13 Thread Heinz Diehl
On 13.04.2010, da...@lafourmi.de wrote: 

> but i dont understand
> regexp  pattern match on user agent
 
> can you give me an example for dummies please ;)

acl Nofox browser -i .*Firefox.*
http_access deny Nofox