Hello,
we are using XWiki 15.10.14 on Debian 12 (using official debian packages) with Jetty.
we have configured ShortURLs for our Wiki-Farm and have worked through all the steps in these instructions: ShortURLs
But after that it didn’t work out. In addition we had to add the following snippet to /etc/xwiki/web.xml:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
- Will this be overwritten on updates?
- Is this correct?
- Do we have to remove other actions with the url-patterns
/xwiki/*
and/bin/*
? - Is it generally safe to use Short URLs or is there anything against it?
Maybe the instructions on the ShortURLs could be updated.
Thanks!
EDIT: Just noticed that this step is explained but located under the instructions for Apache. We are using nginx and so we first thought this wasn’t needed for nginx.