Archive of UserLand's first discussion group, started October 5, 1998.
Re: domains vs doctree in mainresponder
Author: Christopher Short Posted: 3/18/1999; 3:53:13 PM Topic: domains vs doctree in mainresponder Msg #: 4260 (In response to 4248) Prev/Next: 4259 / 4261
First it would look in the table.If it doesn't find it there, it would look in the folder.
sort of...
for those that can't use different domain names, but still want to run different websites off the root (default?) domain, this is achieved by having config.mainresponder.domains.default point to a table. Entries in this table are then addresses or filespecs to websites.
So you can have
etc
But by using a table to control this you can't have
be the default site, as far as I can tell unless you have the table (pointed to by config.mainresponder.domains.default) be a website.
As I understand it, Clay, wants http://yoursite/ to default to the WWW folder in the Nirvana Server folder if the table itself is not a website - which I don't believe is currently possible.
what happens if you directly reference the default item in your docTree table rather than allow Frontier to choose that item for you as it's default? In other words, point directly at http://yoursite/default
You can point to a single page that way - but none of the links to other pages at the same level (eg other 'home'/'default' pages) can be linked unless each also has an entry in the table - which is kinda cumbersome.
Hopefully, this has shed some light on the subject.
Cheers, Christopher
This page was archived on 6/13/2001; 4:48:52 PM.
© Copyright 1998-2001 UserLand Software, Inc.