republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·Hijack This logs? ·Panda Free Tools ·Vundo Removal
AuthorAll Replies


AVD
Respice, Adspice, Prospice
Premium
join:2003-02-06
Onion, NJ
kudos:1

reply to OZO

Re: How to block google-analytics

said by OZO:

The list is quite big, because unfortunately Windows hosts file doesn't support wildcard '*' and, therefore, each host name should be listed separately there.

technically, does *any* HOSTS file "support wildcards"?
--
--Standard disclaimers apply.--

OZO
Premium
join:2003-01-17
kudos:2

said by AVD:

said by OZO:

The list is quite big, because unfortunately Windows hosts file doesn't support wildcard '*' and, therefore, each host name should be listed separately there.

technically, does *any* HOSTS file "support wildcards"?

Technically they don't. And usual explanation is - they were not designed to block name resolutions in the first place. But if they did support of '*', blocking name resolutions would be much more efficient. If you look at examples of HOSTS files usually they contain many lines referring to one domain, but specifying each and every host within that domain, one by one. If HOSTS files supported '*', many of those lines could be substituted with just one line. E.g.:
127.0.0.1 *.google-analytics.com.
--
Keep it simple, it'll become complex by itself...

Wednesday, 19-Jun 06:42:14 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics