Results 1 to 3 of 3
hi,
iv been trying for hours to try and get this to work,
basicly this is what i am wanting to do,
Deny if requested is not on allowed port
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-21-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
Squid ACL, allow url?
hi,
iv been trying for hours to try and get this to work,
basicly this is what i am wanting to do,
Deny if requested is not on allowed port
Allow local users accounts (got this working)
Allow if the requested url is *.mydomain.com
Deny if no the above
below what im using, - all the fully working...
can anyone tell me what im doing wrong?
thanks
Code:acl LocalServer url_regex -i *.mydomain.com acl all src all http_access deny !Safe_ports http_access allow LocalUsers http_access allow LocalServer http_access deny all
- 02-26-2009 #2Linux Newbie
- Join Date
- Feb 2009
- Posts
- 101
try
acl LocalServer dstdomain .mydomain.com
alc Localusers src 192.168.10.0/255.255.255.0
http_access allow Localusers LocalServer
http_access deny all
- 02-26-2009 #3Linux User
- Join Date
- May 2008
- Location
- NYC, moved from KS & MO
- Posts
- 251
Code:acl LocalServer url_regex -i *.mydomain.com acl all src 0.0.0.0/0.0.0.0 http_access deny !Safe_ports http_access allow LocalUsers LocalServer http_access deny all


Reply With Quote
