Changes for document Xinit

From version 26.1
edited by Alexandru Stancu
on 2012/05/30 11:38
To version 27.1
edited by Guillaume Fenollar
on 2012/11/14 10:15
Change comment: There is no comment for this version

Metadata changes

Document author
xwiki:XWiki.GuillastancumeFenollar

Object changes

Object number 0 of type ExtensionCode.ExtensionClass modified

Description
... ... @@ -53,7 +53,7 @@
53 53 Example: supposing you have an public wiki that can be accessed using http://xwiki.domain.tld . To configure Xinit to check the availability of that wiki do the following changes in xinit.cfg:
54 54
55 55 {{code}}
56 -HECK_HTTP="yes"
56 +CHECK_HTTP="yes"
57 57 EXPECT_HTTP_RESPONSE_CODE="200"
58 58 CHECK_HTTP_URL="http://xwiki.domain.tld"
59 59 {{/code}}
... ... @@ -67,7 +67,7 @@
67 67 If the wiki is protected by htaccess you can set **USE_BASIC_AUTH="yes"** and set **HTACCESS_USERNAME** and **HTACCESS_PASSWORD** parameters in xinit.cfg to let Xinit be able bypass the basic authentication.
68 68
69 69 {{info}}
70 -If the wiki page you are trying to access requires an authentication at xwiki level you can set Xinit to expect code 401. You'll receive "401 Unauthorized" response when try to access such a page. This way Xinit is still able to check XWiki availability.
70 +If the wiki page you are trying to access requires an authentication at xwiki level you can set Xinit to expect code 401. You'll receive "401 Unauthorized" response when try to access such a page. This way Xinit is still able to check XWiki availability. But make sure the 401 you received it not transmitted by the front-end (in case of htaccess).
71 71 {{/info}}
72 72
73 73 Other important parameter is **USE_DNS** which by default is set to **"yes"**. This parameter makes Xinit to not restart Tomcat in case it was not able to resolve the domain specified by the CHECK_HTTP_URL parameter. You can set it to **"no"** if you want to reverse the behavior.

Download XWiki

My Recent Modifications

Get Connected