<
From version < 2.1 >
edited by Thomas Mortagne
on 2008/10/21
To version < 3.1 >
edited by Thomas Mortagne
on 2008/12/10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -10,24 +10,31 @@
10 10  See [How to edit wiki descriptor>manager:AdminGuide.EditWiki].
11 11  
12 12  1.1 Host
13 -* The first thing XWiki do to find the right wiki the URL is pointing to is by trying to find <tt>wiki1.xwiki.org</tt> in the list of wiki descriptors.
14 -* I no descriptor can be found:
13 +* The first thing XWiki do to find the right wiki the URL is pointing to is by trying to find <tt>wiki1.xwiki.org</tt> in the list of wiki descriptors. Comparing with the content of field <tt>server</tt> in objects of class XWiki.XWikiServerClass
14 +* If no descriptor can be found:
15 15   ** if the host is an IP (127.0.0.1, 85.65.12.36, etc.) XWiki goes to main wiki
16 16   ** if the first part of the host name (what is before the first point) is "www" XWiki goes to main wiki
17 17   ** if the first part of the host name match a wiki identifier XWiki goes to this wiki
18 18  
19 19  1.1 \[OPTIONNAL\] Application context
20 -#warning("TODO")
21 21  
22 -1.1 \[OPTIONNAL\]/bin/
23 -#warning("TODO")
21 +It's what the web container (jetty, tomcat, glassfish, etc.) use to find XWiki in all the web applications it contains. To remove it mainly depends on the possibilities and configuration of your web container.
24 24  
23 +1.1 \[OPTIONNAL\] Struts action
25 25  
26 -1.1 \[OPTIONNAL\] Action
27 -XWiki use "action" identifiers to determine what is the goal a the user when going to a page.
25 +This is used by struts to call the right servlet.
28 28  
29 -For example if the action is "edit" XWiki will print a editor the user use to modify a page content but if the "view" action is used XWiki will execute the page content to print/render the content.
27 +It can be:
28 +* /bin/: it's the default action is none is specified. It calls the standard XWiki view to edit/view/delete wiki page etc.
29 +* /wiki/wikialias: call the same servlet but will be use to determine the subwiki to acces if <tt>xwiki.virtiual.usepath</tt> is enabled in <tt>xwiki.cfg</tt>. Notes that you can change the "wiki" part with anything else using <tt>xwiki.virtual.usepath.servletpath</tt> and by modifying web.xml to reflect the new Struts action name. If the struts action name is the same that.
30 + ** XWiki tries to match a wiki descriptor with the provided <tt>wikialias</tt> like it was a domain name
31 + ** then if it can't find any wiki descriptor it search for it with <tt>wikialias</tt> as wiki name
30 30  
33 +1.1 \[OPTIONNAL\] Bin action
34 +When the struts action is <tt>bin</tt> or the value of <tt>xwiki.virtual.usepath.servletpath</tt>, XWiki use "action" identifiers to determine what is the goal of the user when going to a page.
35 +
36 +For example if the action is "edit" XWiki will print an editor the user use to modify a page content but if the "view" action is used XWiki will execute the page content to print/render the content.
37 +
31 31  1.1 Space
32 32  All XWiki page are located in what is called a "space". You have only one level of space but you can indicate a "parent space" for a space.
33 33  

Get Connected