Hello, I have a problem with short URL on xwiki. I’m following tutorial (https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/ShortURLs/).
Its works with hiding /xwiki and /view but when commes to /bin i am receiving error 500: Type Exception ReportMessage Failed to lookup the resource type resolve for - Pastebin.com
Everytime I undo step 2 of this tutorial (im doing the apache one) everything working fine but every time im trying redo this same error shows.
I’m running xwiki from deb package ubuntu with apache2 and tomcat9. Please help!
I found the issue:
tutorial uses wrong path if you use .DEB package! In tutorial theres:
Alias /skins /usr/local/xwiki/skins
Alias /resources /usr/local/xwiki/resources
But if you use .DEB package (like me) you need to use:
Alias /skins /usr/lib/xwiki/skins
Alias /resources /usr/lib/xwiki/resources
Everything works now