Re: [squid-users] DSTDOMAIN Wildcards and Multiple http_port

From: Edmonds Namasenda <namasenda_at_gmail.com>
Date: Wed, 4 Jul 2012 12:00:11 +0300

>> # Assuming namasenda.com is a registered domain, and the outcome is
>> controlling any domain with the word "namasenda" like
>> hatenamasenda.com or .net
>> a) .\namasenda\.
>> b) .namasenda.
>> c) .namasenda.com
>> d) .\namasenda\.com
>>
>> Is a) & b) correct, anyway?
>
>
> No they are not. Neither is (d).
>
> (c) is correct dstdomain syntax but the "wildcard" is label-based, not
> character-based.
>

Is it possible to have / write a label-based dstdomain syntax?
How?

> .namasenda.com will match namasenda.com, www.namasenda.com,
> www2.namasenda.com, other.namasenda.com
> but not: anamasenda.com or hatenamasenda.com or anything else with a
> different 2nd-tier label than "namasenda".
>
>
>>
>> I want one squid instance to listen on ports 80, 8080, & 3128
>> Do I just do "http_port 3128 8080 80 transparent" work?
>
>
> No, one line per http_port entry.
>
> Amos
>

Thank you,

# Edmonds.
Received on Wed Jul 04 2012 - 09:00:19 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 04 2012 - 12:00:02 MDT