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/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to