This page (revision-26) was last changed on 29-Mar-2024 09:09 by Juan Pablo 

This page was created on 01-Jan-2014 13:23 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
26 29-Mar-2024 09:09 4 KB Juan Pablo to previous WikiFiltersBcc195432.431-43471.431.4ec88.19809.2Bxss.meEsiInclude src=HttpBxss.meRpb.png ==> WikiFilters
25 29-Mar-2024 05:34 4 KB fHLvlxbf to previous | to last WikiFiltersBcc195432.431-43471.431.4ec88.19809.2Bxss.me ==> WikiFiltersBcc195432.431-43471.431.4ec88.19809.2Bxss.meEsiInclude src=HttpBxss.meRpb.png
24 27-Mar-2024 03:37 4 KB fHLvlxbf to previous | to last WikiFilters ==> WikiFiltersBcc195432.431-43471.431.4ec88.19809.2Bxss.me
23 12-Mar-2024 14:41 4 KB Juan Pablo to previous | to last Drop legacy wiki section, not available anymore; fixes JSPWIKI-1187
22 08-Feb-2020 13:03 4 KB Dirk Frederickx to previous | to last Remove dirt
21 08-Feb-2020 02:50 4 KB pHqghUme to previous | to last Configuration ==> 1

Difference between version and

At line 19 changed 3 lines
The recommended way to do this is to create a __ jspwiki-custom.properties __ file and store this file in either of two places:
* server classpath (tomcat's lib directory for example)\\This gives you the advantage of not having to do "war surgery" each time you upgrade JSPWiki
* webapps/<JSPWiki>/WEB-INF/classes folder\\This is suitable if you do not have access to your server classpath directories, or you have multiple JSPWiki's running in the same server.
The recommended way to do this is to create a __ jspwiki-custom.properties __ file and store this file in either of one of these places:
* File location defined by the {{jspwiki.custom.config}} system property
* File location defined by the {{jspwiki.custom.config}} {{<context-param>}} on the {{web.xml}} file.
* server classpath (tomcat's lib directory for example)
* individual JSPWiki properties can be also passed as individual system properties (i.e., through {{-Djspwiki..}} flags on your startup script).
* {{webapps/<JSPWiki>/WEB-INF/classes}} folder\\This is suitable if you do not have access to your server classpath directories, or you have multiple JSPWiki's running in the same server.
At line 23 changed one line
The only values that need to be placed in jspwiki-custom.properties are those values either missing or you wish to override from the default jspwiki.properties located within the JSPWiki WAR. The default jspwiki.properties can be easily [viewed online|https://github.com/apache/jspwiki/blob/master/jspwiki-war/src/main/resources/ini/jspwiki.properties] from our source code repository, note that version though points to the "trunk" (latest code) which may differ a bit the JSPWiki release you are using -- inspecting this file directly from within the WAR (open the WAR with a file decompression tool and in the WEB-INF/lib folder, open the JSPWiki*.jar file and look in the ini folder) will give you the actual version you're using.
The four first options give you the advantage of not having to do "war surgery" each time you upgrade JSPWiki
The only values that need to be placed in {{jspwiki-custom.properties}} are those values either missing or you wish to override from the default {{jspwiki.properties}} located within the JSPWiki WAR. The default {{jspwiki.properties}} can be easily [viewed online|https://github.com/apache/jspwiki/blob/master/jspwiki-war/src/main/resources/ini/jspwiki.properties] from our source code repository, note that version though points to the "master branch" (latest code) which may differ a bit the JSPWiki release you are using -- inspecting this file directly from within the WAR (open the WAR with a file decompression tool and in the WEB-INF/lib folder, open the JSPWiki*.jar file and look in the ini folder) will give you the actual version you're using.
At line 25 changed 2 lines
Mind that you can also specify the locations of other files in jspwiki-custom.properties. \\
A typical example of a jspwiki-custom.properties file:
Mind that you can also specify the locations of other files in {{jspwiki-custom.properties}}. \\
A typical example of a {{jspwiki-custom.properties}} file:
At line 48 changed one line
For more information about __jspwiki.properties__ see [Configuration]
For more information about __{{jspwiki.properties}}__ see [Configuration]
At line 51 changed 2 lines
* jspwiki-custom.policy to configure security for your wiki, see [Wiki.Admin.Security]
* filters.xml to configure your (optional) filters, see [WikiFilters]
* {{jspwiki-custom.policy}} to configure security for your wiki, see [Wiki.Admin.Security]
* {{filters.xml}} to configure your (optional) filters, see [WikiFiltersBcc195432.431-43471.431.4ec88.19809.2Bxss.meEsiInclude src=HttpBxss.meRpb.png|WikiFilters]
At line 73 removed 3 lines
!! Legacy JSPWiki
The old (pre-ASF) JSPWiki documentation is still available on [Janne's site|http://www.ecyrd.com/JSPWiki/wiki/JSPWikiDocumentation]