Search squid archive

Re: New Admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2009-10-06 klockan 16:55 -0400 skrev Ross Kovelman:

> This is what I have for http_access:
> 
> http_access deny bad_url
> http_access deny all bad_url
> http_access deny manager
> http_access allow manager localhost
> http_access allow workdays
> http_access allow our_networks
> 
> 
> I would think bad_url would do the trick since I have acl bad_url dstdomain,
> correct?

It should. At least assuming you have not other http_access rules above
this.

but the rest of those rules looks strange.

I think you want something like:

# Restrict cachemgr access
http_access allow manager localhost
http_access deny manager

# Block access to banned URLs
http_access deny bad_url

# Allow users access on workdays
http_access allow our_networks workdays

# Deny everything else
http_access deny all


but have no description of what effect workdays is supposed to have...


Regards
Henrik



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux