I have opencms 10.5.4, tomcat 8.5.37.
I have a site "localhost:8080", now i have to move the site to "localhost:8080/mydirectory"
I tried to change opencms-system.xml
<sites>
<workplace-server>http://localhost:8080/mydirectory</workplace-server>
<default-uri>/sites/default/</default-uri>
<shared-folder>/shared/</shared-folder>
<site server="http://localhost:8080" uri="/sites/default/" title="Demo Site" position="3.4028235E38" webserver="true">
<parameters>
<param name="locale.main">it</param>
<param name="locale.secondary">en</param>
</parameters>
</site>
</sites>
I restarted catalina but nothing happens.
What is the best way to change domain url without breaking the links of the css and files that are in the modules?