Thank you Jeffrey,

An excellent alternative I often forget about :-)


> -----Original Message-----
> From: Jeffrey Bohmer [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 19, 2003 2:24 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Witango-Talk: Domain Variables
> 
> 
> 
> I'll throw in some more info ...
> 
> <snip>
> >Note that http://www.mysite.com and http://mysite.com are actually
> >considered separate domains as far as Witango is concerned, 
> even though they
> >both point at the same set of files. And Domain Scope 
> variables are not
> >accessible by a TAF executed under a different Domain name.
> </snip>
> 
> This is correct.  But you can also use domains.ini to group hostnames 
> into a Witango domain.  So if you had this in your domains.ini:
> 
>       [Domains]
>       mysite = a site that is mine
>       anothersite = some other site
> 
>       [mysite]
>       1=mysite.com
>       2=www.mysite.com
>       3=www.foo.com
> 
>       [anothersite]
>       1=anothersite.com
>       2=www.anothersite.com
> 
> Then once a domain var was assigned from mysite.com it would be 
> available to requests going to mysite.com, www.mysite.com or 
> www.foo.com.  But it would not be available on anothersite.com or 
> www.anothersite.com.
> 
> Also, the <@DOMAIN> tag will return the value in the brackets for the 
> domain grouping.  So for all requests going to mysite.com, 
> www.mysite.com or www.foo.com, <@DOMAIN> would return "mysite".  You 
> can use the <@DOMAIN> value in your database and TAFs to determine 
> what domain you're in.
> 
> - Jeff
> -- 
> 
> Jeffrey Bohmer
> VisionLink, Inc.
> _________________________________
> 303.402.0170
> www.visionlink.org
> _________________________________
> People. Tools. Change. Community.
> ______________________________________________________________
> __________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to