Re: [xwiki-users] Wiki Manager and main wiki descriptor page XWiki.XWikiServerXwiki

2013-11-08 Thread Thomas Mortagne
XWikiServerXwiki never been lost, it's never been there in XE by
default, only on XEM. We improved a bit the default behavior to
fallback on main wiki when the target wiki can not be found to not
require XWikiServerXwiki too much with default setting.

When you enable failOnWikiDoesNotExist you enforce the failing when
the URL cannot match any wiki so then yes you require a proper
descriptor for main wiki.

On Fri, Nov 8, 2013 at 4:09 AM, Dmitry Bakbardin haru_mamb...@mail.ru wrote:
  Hi, All, again!

 The problem with Main Wiki descriptor has very interesting behaviour.

 #xwiki.virtual.failOnWikiDoesNotExist=1

 in xwiki.cfg gives following:
 - XWiki runs with IP based URL fine
 - XWiki gives wiki does not exist on domain based URL

 I decided to hack XWiki and created page Wiki.XWikiServerXwiki + added 
 object of XWiki.XWikiServerClass to it. On the moment I added alias and saved 
 the page, Main Wiki started to run on domain based URLs correctly.

 Is it a bug, that Wiki.XWikiServerXwiki got lost somewhere or I'm doing 
 anything wrong?


 Пятница,  8 ноября 2013, 2:50 +04:00 от Dmitry Bakbardin 
 haru_mamb...@mail.ru:
Hi, All!

Once upon a time it was a Wiki Manager. And it was a lis of ALL wikis in it.
There was also xwiki wiki, where into the page XWiki.XWikiServerXwiki one 
could change a lot of useful staff for the main wiki.

In the old school wiki I could set up aliases for main wiki, in the 5.2 
there is no xwiki wiki in the list. Does anyone know how to get and change 
this information?

Kind regards,

Dmitry

 Kind regards,

 Dmitry
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Wiki Manager and main wiki descriptor page XWiki.XWikiServerXwiki

2013-11-08 Thread Dmitry Bakbardin
 Hi, Thomas!

IMHO, it's nice improvent, but causes very curiuos problem: it simply does not 
work at all with domain URLs after enabling 
xwiki.virtual.failOnWikiDoesNotExist.
No way to understand what is wrong, especially for those who play with 
multiwiki mode first time. 

If xwiki.virtual.failOnWikiDoesNotExist is off (default), one can see following:
- mydomain.com = main wiki
- 123.mydomain.com = main wiki, but all links are generated as 123.mydomai.com

Probably this is useful somwhere, BUT, following scenario looks more logic:
- xwiki.virtual.failOnWikiDoesNotExist is off (default)
- XWikiServerXwiki is included by default into the installation, I set up it's 
alias mydomain.com while Wiki manager / Workspace Manager set up
- mydomain.com = main wiki
- 123.mydomain.com = main wiki, but it falls back to mydomai.com

Maybe it is worth to include XWikiServerXwiki page by default?


Пятница,  8 ноября 2013, 9:00 +01:00 от Thomas Mortagne 
thomas.morta...@xwiki.com:
XWikiServerXwiki never been lost, it's never been there in XE by
default, only on XEM. We improved a bit the default behavior to
fallback on main wiki when the target wiki can not be found to not
require XWikiServerXwiki too much with default setting.

When you enable failOnWikiDoesNotExist you enforce the failing when
the URL cannot match any wiki so then yes you require a proper
descriptor for main wiki.

On Fri, Nov 8, 2013 at 4:09 AM, Dmitry Bakbardin  haru_mamb...@mail.ru  
wrote:
  Hi, All, again!

 The problem with Main Wiki descriptor has very interesting behaviour.

 #xwiki.virtual.failOnWikiDoesNotExist=1

 in xwiki.cfg gives following:
 - XWiki runs with IP based URL fine
 - XWiki gives wiki does not exist on domain based URL

 I decided to hack XWiki and created page Wiki.XWikiServerXwiki + added 
 object of XWiki.XWikiServerClass to it. On the moment I added alias and 
 saved the page, Main Wiki started to run on domain based URLs correctly.

 Is it a bug, that Wiki.XWikiServerXwiki got lost somewhere or I'm doing 
 anything wrong?


 Пятница,  8 ноября 2013, 2:50 +04:00 от Dmitry Bakbardin  
 haru_mamb...@mail.ru :
Hi, All!

Once upon a time it was a Wiki Manager. And it was a lis of ALL wikis in it.
There was also xwiki wiki, where into the page XWiki.XWikiServerXwiki one 
could change a lot of useful staff for the main wiki.

In the old school wiki I could set up aliases for main wiki, in the 5.2 
there is no xwiki wiki in the list. Does anyone know how to get and change 
this information?

Kind regards,

Dmitry

 Kind regards,

 Dmitry
 ___
 users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne


Kind regards,

Dmitry
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Wiki Manager and main wiki descriptor page XWiki.XWikiServerXwiki

2013-11-07 Thread Dmitry Bakbardin
 Hi, All, again!

The problem with Main Wiki descriptor has very interesting behaviour.

#xwiki.virtual.failOnWikiDoesNotExist=1 

in xwiki.cfg gives following:
- XWiki runs with IP based URL fine
- XWiki gives wiki does not exist on domain based URL

I decided to hack XWiki and created page Wiki.XWikiServerXwiki + added object 
of XWiki.XWikiServerClass to it. On the moment I added alias and saved the 
page, Main Wiki started to run on domain based URLs correctly.

Is it a bug, that Wiki.XWikiServerXwiki got lost somewhere or I'm doing 
anything wrong? 


Пятница,  8 ноября 2013, 2:50 +04:00 от Dmitry Bakbardin haru_mamb...@mail.ru:
Hi, All!

Once upon a time it was a Wiki Manager. And it was a lis of ALL wikis in it.
There was also xwiki wiki, where into the page XWiki.XWikiServerXwiki one 
could change a lot of useful staff for the main wiki.

In the old school wiki I could set up aliases for main wiki, in the 5.2 
there is no xwiki wiki in the list. Does anyone know how to get and change 
this information?

Kind regards,

Dmitry

Kind regards,

Dmitry
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users