Changes for page Short URLs

Last modified by Vincent Massol on 2024/03/27

<
From version < 63.1 >
edited by Vincent Massol
on 2017/11/21
To version < 64.1 >
edited by Vincent Massol
on 2017/11/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -71,7 +71,7 @@
71 71  Install steps:
72 72  
73 73  1. [[Download the JAR>>http://www.tuckey.org/urlrewrite/]] and put it in ##WEB-INF/lib##
74 -1. Edit your ##WEB-INF/web.xml## and add the ##<filter>## and ##filter-mapping## definitions [[as documented>>http://www.tuckey.org/urlrewrite/]]
74 +1. Edit your ##WEB-INF/web.xml## and add the ##<filter>## and ##<filter-mapping>## definitions [[as documented>>http://www.tuckey.org/urlrewrite/]]. Make sure to have them first so that they're executed before any other XWiki filter.
75 75  1. Drop the following content belo< in a file at ##WEB-INF/urlrewrite.xml##:(((
76 76  Note that this is just an example and you should tune it depending on what you wish to achieve. Its principle is very simple: it takes some URL format you wish to have and convert those URLs into the format that XWiki expects in input, and, in output, it does the opposite and converts the XWiki format into the format you wish to have.
77 77  

Get Connected