Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6
Hi Sergiu,
The setup I have is; 1. Main wiki Domain names: 'localhost', 'main.mydomain.local', 'main' 2. Template Domain names: 'templatexe.template.local' 3. Project management wiki: 'projects.mydomain.local'
Can you try to add an alias with only "main" for the main wiki? The domain name is expected to match exactly the requested URL, but you're asking for "main", while the configuration indicates "main.mydomain.local".
Done, and it works. So; main/xwiki - works main.mydomain.local/xwiki - works projects/xwiki - works projects.mydomain.local/xwiki - works I guess the only question I have is why there is only one alias for projects (projects.mydomain.local) and both the FQDN and the short version work. For the main however only an exact match of alias' work. Is this a bug? Only an annoyance really though, it just threw me off that it worked for a sub-wiki but not for the main one. Thanks for all your help!
The calendar and photo album applications were retired, you should remove those links. Ok, that's easy
Dean Sellers applications engineer rinstrum smart weighing Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 [email protected] 41 Success St, Acacia Ridge, QLD, 4110 www.rinstrum.com
Dean Sellers wrote:
Hi Sergiu,
The setup I have is; 1. Main wiki Domain names: 'localhost', 'main.mydomain.local', 'main' 2. Template Domain names: 'templatexe.template.local' 3. Project management wiki: 'projects.mydomain.local'
Can you try to add an alias with only "main" for the main wiki? The domain name is expected to match exactly the requested URL, but you're asking for "main", while the configuration indicates "main.mydomain.local".
Done, and it works. So; main/xwiki - works main.mydomain.local/xwiki - works projects/xwiki - works projects.mydomain.local/xwiki - works
I guess the only question I have is why there is only one alias for projects (projects.mydomain.local) and both the FQDN and the short version work. For the main however only an exact match of alias' work. Is this a bug? Only an annoyance really though, it just threw me off that it worked for a sub-wiki but not for the main one. Thanks for all your help!
Outside domain names and aliases, there's also a default wiki matching mechanism that compares the first part of the domain with the database name. So, the first (and only) part when requesting projects/xwiki is projects, which happens to map to the projects database&wiki. For the main wiki this doesn't work because actually the database name is xwiki, and not main. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Dean Sellers -
Sergiu Dumitriu