Search squid archive

Re: Squid ACL, allow url?

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

 



CopyrightPhilly wrote:
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

acl LocalServer url_regex -i *.mydomain.com

acl LocalServer dstdomain .mydomain.com

acl all src all

http_access deny !Safe_ports
http_access allow LocalUsers
http_access allow LocalServer
http_access deny all

If thats not working, there is something elsewhere going wrong.

What version of squid are you using?

What type of errors are you seeing?

Is Safe_ports defined properly?

Is this trying to be an accelerator, or just a forward proxy with internal sites always allowed?


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5

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

  Powered by Linux