- From: Charles McCathieNevile <chaals@opera.com>
- Date: Wed, 01 Aug 2007 17:25:35 +0200
- To: "Andrea Perego" <andrea.perego@uninsubria.it>, public-powderwg@w3.org
On Wed, 01 Aug 2007 16:09:59 +0200, Andrea Perego <andrea.perego@uninsubria.it> wrote: > The engaging mr Carroll wrote: >> 3: includeHosts >> You seem to mean that includeHosts with example.org also includes >> www.example.org - in a quick skim I didn't see this stated explicitly, >> or for example that it does not include example.www.org or whatever; nor >> what to do if you only want example.org and not foo.example.org > > wdr:includeHosts denotes all the resources with URIs where the host > component ends with one of the strings in the space-separated list. So > > <wdr:includeHosts>example.org example.net</wdr:includeHosts> > > means: "resources with a URI host component ending with example.org or > example.net". This of course includes example.org, www.example.org, and > foo.example.org, but not example.www.org. If you wish to say > "*example.org but not foo.example.org" you should specify what follows: > > <wdr:includeHosts>example.org</wdr:includeHosts> > <wdr:excludeHosts>foo.example.org</wdr:excludeHosts> Perhaps we should also note that <wdr:includeHosts>example.org</wdr:includeHosts> <wdr:excludeHosts>.example.org</wdr:excludeHosts> Is what you need unless you want to implicitly include anything in a subdomain. Note that there are coordination discussions on this topic with the WAF group, and there is a precedent in P3P, so alignment here is an ongoing pursuit. Cheers Chaals -- Charles McCathieNevile, Opera Software: Standards Group hablo español - je parle français - jeg lærer norsk chaals@opera.com Catch up: Speed Dial http://opera.com
Received on Wednesday, 1 August 2007 15:25:54 UTC