<
From version < 56.4 >
edited by Vincent Massol
on 2015/04/01
To version < 56.5 >
edited by Vincent Massol
on 2015/04/01
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -8,27 +8,30 @@
8 8  
9 9  * ##<protocol>##: by default it's ##http##. It's possible to use ##https## (See [[how to modify the wiki descriptor>>manager:AdminGuide.EditWikiDescriptor]]).
10 10  * ##<servername>##: the XWiki instance address and port, e.g. ##localhost:8080##, ##xwiki.org##. In domain-mode the server also contains the subwiki name. See [[Accessing a wiki>>AdminGuide.AccessWiki]]. In path-based mode, the server is the address of the main wiki.
11 -* ##<context path>##: the name under which the XWiki web application is deployed in your Servlet Container, e.g. ##xwiki##
11 +* ##<context path>##: the name under which the XWiki web application is deployed in your Servlet Container, e.g. ##xwiki##. See [[Short URLs>>platform:Main.ShortURLs#HI.Applicationname]] if you wish to change it or deploy XWiki as ROOT.
12 12  * ##<type>##: the type of URL depending on the XWiki subsystem accessed. The following types are supported:
13 -** ##bin##: the URL is pointing to a dynamic resource. Examples: an Entity to display (wiki, page, space, attachment, object, property, etc), a dynamic skin resource (image, css, js), a dynamic template resource (image, js, css, icon, etc) and more. By dynamic we mean that some computation needs to happen to compute the resource (for example some Velocity needs to be evaluated).
13 +** ##bin##: points to a dynamic resource. Examples: an Entity to display (wiki, page, space, attachment, object, property, etc), a dynamic skin resource (image, css, js), a dynamic template resource (image, js, css, icon, etc) and more. By dynamic we mean that some computation needs to happen to compute the resource (for example some Velocity needs to be evaluated).
14 14  ** ##wiki##: this is similar to ##bin## but specifying the subwiki to access, in path-based mode (See [[Accessing a wiki>>AdminGuide.AccessWiki]]).
15 -** ##rest##: the URL is pointing to a [[REST Resource>>Features.XWikiRESTfulAPI]]
16 -** ##skins##: the URL is pointing to a static skin resource (image, js, css, etc).
17 -** ##resources##: the URL is pointing to a static template resource (image, js, css, etc).
15 +** ##rest##: points to a [[REST Resource>>Features.XWikiRESTfulAPI]]
16 +** ##skins##: points to a static skin resource (image, js, css, etc).
17 +** ##resources##: points to a static template resource (image, js, css, etc).
18 +** ##xmlrpc##: points to the now deprecated XMLRPC API (see [[platform:Features.XMLRPC]] for more details).
19 +** ##webdav##: points to a WebDAV resource (see [[Web DAV>>platform:Features.WebDAV]] for more details).
18 18  * ##<path>##: the path completely depends on the ##<type>## used. See below for more details.
19 19  
20 20  == Type: ##bin## ==
21 21  
22 -There are various ##bin## URLs:
23 -* ##bin/skin/skins##: Dynamic Skin resource, e.g. ##http://<server>/xwiki/bin/skin/skins/flamingo/style.css?skin=XWiki.DefaultSkin&colorTheme=playground%3AFlamingoThemes.Charcoal##
24 -* ##bin/skin/resources##: Dynamic Template Resource, e.g. ##http://<server>/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.css##
25 -* ##bin/jsx##: [[Javascript Skin Extension>>DevGuide.SkinExtensionsTutorial]] URL, e.g. ##http://<server>/xwiki/bin/jsx/AnnotationCode/Settings?language=en##
26 -* ##bin/ssx##: [[StyleSheet Skin Extension>>DevGuide.SkinExtensionsTutorial]] URL, e.g. ##http://<server>/xwiki/bin/ssx/AnnotationCode/Style?language=en##
27 -* ##bin/webjars##: URL when [[accessing some resources located in a WebJar>>extensions:Extension.WebJars Integration]], e.g. ##http://<server>/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js##
28 -* ##bin/download##: URL to access an attachment from a wiki page, e.g. ##http://<server>/xwiki/bin/download/XWiki/JohnDoe/john.png?width=30&height=30&keepAspectRatio=true##
29 -* ##bin/get##: Accessing Entity content (wiki, page, space, attachment, object, property, etc) without any skin applied, e.g. ##http://<server>/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=commentsinline.vm##
30 -* ##bin/view##: Display Entity content (wiki, page, space, attachment, object, property, etc) with the skin applied, e.g. ####
24 +There are various ##bin## URLs. The generic format of ##bin## URLs is ##bin/<action>/<path>##. The full list of ##<action>## is defined in the Strut Configuration File (located in ##WEB-INF/struts-config##).
31 31  
26 +Here are some well-known actions:
27 +* ##skin##: Dynamic Skin resource, e.g. ##http://<server>/xwiki/bin/skin/skins/flamingo/style.css?skin=XWiki.DefaultSkin&colorTheme=playground%3AFlamingoThemes.Charcoal## or ##http://<server>/xwiki/bin/skin/resources/uicomponents/search/searchSuggest.css##
28 +* ##jsx##: [[Javascript Skin Extension>>DevGuide.SkinExtensionsTutorial]] URL, e.g. ##http://<server>/xwiki/bin/jsx/AnnotationCode/Settings?language=en##
29 +* ##ssx##: [[StyleSheet Skin Extension>>DevGuide.SkinExtensionsTutorial]] URL, e.g. ##http://<server>/xwiki/bin/ssx/AnnotationCode/Style?language=en##
30 +* ##webjars##: URL when [[accessing some resources located in a WebJar>>extensions:Extension.WebJars Integration]], e.g. ##http://<server>/xwiki/bin/webjars/resources/path?value=requirejs%2F2.1.15%2Frequire.min.js##
31 +* ##download##: URL to access an attachment from a wiki page, e.g. ##http://<server>/xwiki/bin/download/XWiki/JohnDoe/john.png?width=30&height=30&keepAspectRatio=true##
32 +* ##get##: Accessing Entity content (wiki, page, space, attachment, object, property, etc) without any skin applied, e.g. ##http://<server>/xwiki/bin/get/Main/WebHome?xpage=xpart&vm=commentsinline.vm##
33 +* ##view##: Display Entity content (wiki, page, space, attachment, object, property, etc) with the skin applied, e.g. ##http://<server>/xwiki/bin/view/Sandbox/WebHome##
34 +
32 32  == Type: ##wiki## ==
33 33  
34 34  The format is ##wiki/<wiki name>/<bin subpath>## where:
... ... @@ -42,32 +42,11 @@
42 42  == Type: ##skins## ==
43 43  
44 44  Static skin resources, e.g. ##http://<server>/xwiki/skins/flamingo/logo.png##.
45 -= Host =
46 46  
47 -In virtual mode it is used to determine the wiki to access. See [[the domain name based wiki access>>platform:AdminGuide.AccessWiki#HThedomainnamebasedwikiaccess]] for more details.
48 48  
49 -In non-virtual mode is has no effect.
50 50  
51 -= Application context (OPTIONAL) =
52 52  
53 -See [[Short URLs>>platform:Main.ShortURLs#HI.Applicationname]] for more details on how to remove this part of the url.
54 54  
55 -It's what the web container (jetty, tomcat, glassfish, etc.) use to find XWiki in all the web applications it contains. Removing it mainly depends on the possibilities and configuration of your web container.
56 -
57 -= Servlet mapping name (OPTIONAL) =
58 -
59 -See [[Short URLs>>platform:Main.ShortURLs#HII.Servletmappingname]] for more details on how to remove this part of the url.
60 -
61 -This is used by the container to call the right servlet.
62 -
63 -It can be:
64 -
65 -* ##/bin/##: this calls the Struts servlet which will call the right action for the following part of the URL
66 -* ##/wiki/[wikialias]##: calls the same servlet but will be used to determine the subwiki to access if ##xwiki.virtual.usepath## is enabled in ##xwiki.cfg##. Note that you can change the "wiki" part with anything else using ##xwiki.virtual.usepath.servletpath## and by modifying web.xml to reflect the new Struts action name (see [[the URL path based wiki access>>platform:AdminGuide.AccessWiki#HTheURLpathbasedwikiaccess]] for more details)
67 -* ##/xmlrpc/##: call xmlrpc servlet (see [[platform:Features.XMLRPC]] for more details)
68 -* ##/webdav/##: call webdav servlet (see [[Web DAV>>platform:Features.WebDAV]] for more details)
69 -* ##/rest/##: call REST servlet (see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]] for more details)
70 -
71 71  = Action (OPTIONAL) =
72 72  
73 73  See the [[struts action name>>platform:Main.ShortURLs#HIII.Strutsactionname]] section for more details on how to remove this part of the url.

Get Connected