Hi,
On Sat, 13 Jun 2009, Amos Jeffries wrote:
> Al - Image Hosting Services wrote:
> Correct. Those will match requests arriving in "http_port 8080" and
> "http_port 8081" respectively.
>
>> It looks like this sets the port numbers, but I am not sure how or even if
>> there is an acl for "url_rewrite_program /usr/local/bin/squidGuard -c
>> /usr/local/etc/squid/squidGuard.conf"
>>
>
> http://www.squid-cache.org/Doc/config/url_rewrite_access
>
>> I already have: acl custom-auth proxy_auth REQUIRED
>> http_access allow custom-auth
>> http_access allow localhost
>> http_access deny all
>>
>> for authentication, so I think that will also work to complicate things.
>> Would anyone be able to give me some ideas on this?
>>
>
> http://wiki.squid-cache.org/SquidFaq/SquidAcl
>
> Squid has full boolean logic in it's ACL. (A and (B or X) but not Y) etc. If
> you can state your needs in such a way then it can be configured.
>
> Rows are vertically first-match wins. 'acl' lines define 'OR' groups.
> *_access lines define an 'AND' condition out of multiple ACL named groups.
> placing '!' before an acl name on *_access makes it 'NOT'.
>
This issue was the order. In this order it works:
acl custom-auth proxy_auth REQUIRED
acl portA myport 8080
acl portB myport 8181
url_rewrite_access allow portA
url_rewrite_program /usr/local/bin/squidGuard -c
/usr/local/etc/squid/squidGuard.conf
url_rewrite_children 5
http_access allow custom-auth portA
http_access allow custom-auth portB
Best Regards,
Al
Received on Mon Jun 15 2009 - 01:21:52 MDT
This archive was generated by hypermail 2.2.0 : Mon Jun 15 2009 - 12:00:03 MDT