Changes for page

Last modified by Aurelie Bertrand on 2024/11/19 10:18

From version 1.1
edited by Admin DD
on 2024/03/20 15:58
Change comment: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/15.10.7]
To version 1.2
edited by Admin DD
on 2024/03/20 17:33
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,10 @@
1 +{{groovy wiki="false"}}
2 + println 'HTTP header "forwarded": ' + xcontext.request.getHeader('forwarded')
3 + println 'HTTP header "x-forwarded-host": ' + org.xwiki.container.servlet.HttpServletUtils.getFirstHeaderValue(xcontext.request, 'x-forwarded-host')
4 + println 'Application server port: ' + xcontext.request.getServerPort()
5 +
6 + println org.xwiki.container.servlet.HttpServletUtils.getSourceBaseURL(xcontext.request)
7 +{{/groovy}}
1 1  == Welcome to your wiki ==
2 2  
3 3  XWiki is the best tool to organize your knowledge. A //wiki// is organized in a hierarchy of //pages//. You can create multiple wikis, each with its own set of pages.