As far as I can see there are two ways of setting up a different domain key 
in Tango. One is setting it in the domainConfigFile as Jon was pointing out 
(see your server config for where this file is stored on your machine - 
usually in System Folder:Preferences:Tango2000 ), and the another is 
assigning the domainScopeKey using as assign acction.

1. within the domainConfigFile you setup:

[Domains]
mydomain.com=

[mydomain.com]
1=www.mydomain.com
2=mydomain.com
3=foo.mydomain.com
4=192.168.0.1

2. or you use:

<@ASSIGN NAME=domainScopekey VALUE=<@LITERAL VALUE="<@CIPHER ACTION=HASH 
STR='<@LOWER <@DOMAIN>'>">>

Of course you need to change <@LOWER <@DOMAIN>> to whatever approach you 
wish to use for your key.

IMO since you have control of your server do it the 2nd way.
I am not sure what you were putting in the taf but when I created a taf 
with <@CIPHER action=hash str='<@lower <@domain>>'> it gave me a 32 char 
string with the domain key. - not that it helps you at all because it is 
encrypted anyway.

try the example jon gave but using subfolders as well, or if you can follow 
what Michael Heth said in the email entitled:
Witango-Talk: Arrays of scope domain (on Mac) don't behave - here's the answer

That seems to answer your question if you can get it to work

cheers
Garth


At 12:16  26/09/02, you wrote:
> > I think your prob does lie with Welcome, which is interesting because I am
> > looking at using Welcome for handling the conversion of dynamic urls to
> > normal html for making it easier for spiders & robots to index a news site
> > I am doing.
>
>LOL, I do almost exactly that.
>
>All 'news' records in a db have a 'Findkey'. You enter a simplified URL
>like:
>
>http://www.byteserve.com.au/news/iupdate
>
>And Welcome converts it to:
>
>http://www.byteserve.com.au/news.taf?_function=detail&findkey=iupdate
>
>The news.taf outputs a frameset with the relevant record in the correct
>frame. Good for referring people to articles on a website with a simplified
>URL but still within your frameset.
>
> > You will probably have to come up with something based on Tango domains -
> > maybe set the ip address with each subfolder as a separate Tango domain if
> > that's possible. If you can share with the list what you discover I'd
> > certainly appreciate it.
>
>I tried the scope key you provided but it didn't work. I have a simple taf
>that returns the value of <@DOMAIN>, <@CGIPARAM SERVER_NAME>, <@CGIPARAM
>script_name> and your scope key. The first two give me the IP, then the path
>but in this case yours returned no result.
>
>http://www.brightspark.net.au/vhosttest.taf
>
>Any idea why?
>
>Wayne
>
>                   Byte Services Pty Ltd
>                http://www.byteserve.com.au/
>                   [EMAIL PROTECTED]
>    Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088
>
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to