In the xwiki documentation it is taken for granted that tomcat works exclusively for xwiki… but it’s not my case, my tomcat is already in production with lot of pages in ROOT and in other projects in the webapps folder.
In just downloaded xwiki-platform-distribution-war-11.4-rc-1.war and moved it in my webapps folder changing the name in xwiki.war .
TomCat kindly expanded it in a xwiki folder, where I edited the file /sbt/webapps/xwiki/WEB-INF/xwiki.properties adding this line:
environment.permanentDirectory=/sbt/xwiki/ # nothing to do with webapps
Nothing else. I didn’t changed nothing in /sbt/webapps/ROOT/WEB-INF
since xwiki should have nothing to do with our other projects.
Is this correct?
Apache correcty delegates all /xwiki requests to TomCat, in fact visiting
https://www.sbt.ti.ch/xwiki I am redirected to https://www.sbt.ti.ch/xwiki/bin/view/Main/
(something works!) with a “Page not available” error (I suppose it’s a 500 - Internal Server Error).
Is this correct that I don’t have any bin folder in /xwiki ?
root@svv00724> ll /sbt/webapps/xwiki
total 32
drwxr-x--- 7 tomcat apache 4096 May 24 10:47 .
drwxrwxr-x 7 sbt apache 4096 May 24 10:47 ..
drwxr-x--- 3 tomcat apache 4096 May 24 10:47 META-INF
drwxr-x--- 8 tomcat apache 4096 May 24 10:47 WEB-INF
-rw-r----- 1 tomcat apache 96 May 20 15:50 redirect
drwxr-x--- 6 tomcat apache 4096 May 24 10:47 resources
drwxr-x--- 3 tomcat apache 4096 May 24 10:47 skins
drwxr-x--- 8 tomcat apache 4096 May 24 10:47 templates
root@svv00724>
Thank you
Stefano