Re: [xwiki-users] Problems setting up multiple servers
Hi,
Assuming domain1.com is your servername, thcan you check your configuration looks something like this: XWiki.XWikiServerXwiki - the "server" field points to xwiki.domain1.com(or www.domain1.com; although not required for www. it's best to be safe). XWiki.XWikiServerDomain2 - the "server" field points to [xwiki2].domain1.com where [xwiki2] is a identification of your second wiki (eg public.domain1.com) The above assumes you have a database called Domain2; and [ xwiki2.domain1.com] points to domain1.com in your CNAME records.
In other words, drop domain2.com altogether from thought ..if that makes sense.
Hmm, I tried this and it still doesn't work. First, I created a CNAME, domain2.domain1.com -> domain1.com Next, I created XWiki.XWikiServerXwiki, added XWiki.XWikiServerClass (note: in the dropdown, it shows view.XWiki.XWikiServerClass -- could that be the problem??), set the server to www.domain1.com and the owner to XWiki.admin. Then I created XWiki.XWikiServerDomain2, added XWiki.XWikiServerClass, set the server to domain2.domain1.com and the owner to XWiki.admin. Then I visit www.domain1.com, it's fine. When I visit domain2.domain1.com, it redirects me to the no such wiki page. Thanks for all your help: The good news is that I'm learning more about XWiki and that hopefully some of this will be helpful to the next person who tries.
On 3/13/07, Neighborhood Org <[email protected]> wrote:
Next, I created XWiki.XWikiServerXwiki, added XWiki.XWikiServerClass(note: in the dropdown, it shows view.XWiki.XWikiServerClass -- could that be the problem??), set the server to www.domain1.com and the owner to XWiki.admin. Then I created XWiki.XWikiServerDomain2, added XWiki.XWikiServerClass , set the server to domain2.domain1.com and the owner to XWiki.admin.
Could be. I think there was a confusion, caused by the fact that XWiki.XWikiServerClass is the internal name of the document, but in order to access it you have to use /xwiki/bin/view/XWiki/XWikiServerClass (slash, not dot). Sergiu. -- http://purl.org/net/sergiu
participants (2)
-
Neighborhood Org -
Sergiu Dumitriu