Post Reply 
AdDomains.ptxt and AdHost.ptxt
Aug. 10, 2009, 01:47 PM
Post: #1
AdDomains.ptxt and AdHost.ptxt
What are their differences in functionality or usage?
Add Thank You Quote this message in a reply
Aug. 10, 2009, 03:52 PM (This post was last modified: Aug. 10, 2009 04:00 PM by sidki3003.)
Post: #2
RE: AdDomains.ptxt and AdHost.ptxt
Say a page is calling an external script with a "src" attribute of "http://adsv7.myads.serving.com/1.js".
"adsv7.myads.serving.com" would then be the FQDN, "adsv7" the host name, "myads.serving.com" the domain components.

AdHosts entries consist of mandatory host names, optionally followed by domain components.
AdDomains entries consist of mandatory domain components, optionally preceded by host names.

So, a "myads" AdHosts entry wouldn't match above URL, while a similar AdDomains entry would match.
An "adsv7.myads" entry would match if in AdHosts, or if in AdDomains and called by an off-domain resource.
(AdDomains entries aren't permitted to match on-domain URLs, but that's another story.)
Add Thank You Quote this message in a reply
Aug. 12, 2009, 08:37 PM
Post: #3
RE: AdDomains.ptxt and AdHost.ptxt
Now I understand.
Thank you for your explanation.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: