[opencms-dev] OC10 multi-site configuration
Thorsten Duhn
duhn at regio-gmbh.de
Fri Jan 5 15:52:17 CET 2018
Hello,
long ago I experimented with multi-site configuration on OC 9.5.1 successfully and now I tried to renew this on a current OC version in a more modern development environment - a Tomcat Docker container in an Linux VMWare machine. As it's for development only no Apache HTTPD is involved yet.
OC 10.5.3 is up and running, I added content for new sites easily. But as soon as I add a second site as "localhost:8081" in "opencms-system.xml" and restart Tomcat I get a 404 instead login page (a OC style 404 page). Of course Tomcat configuration is expanded also to connect additional ports (8081, ...), Docker is started for that port also. Default site still is available (has just a plain HTML page by now for testing). Changing port number in that URL to 8081 also delivers content from "/sites/default/" instead different one. Log files show no striking errors, exceptions.
opencms-system.xml
<site server="http://localhost:8081" uri="/sites/foobar/" />
server.xml
<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8081" protocol="HTTP/1.1" redirectPort="8444"/>
What do I miss, what else is needed for this? I strongly believe it must be something really stupid...
I referred to this page for my doings (without the HTTPD server stuff and with no need for additional user and group rights): <http://www.opencms-wiki.org/wiki/MultiSite_configuration_instructions_%28apache_%2B_mod_jk%29>
Regards,
Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180105/f3b5431d/attachment.htm>
More information about the opencms-dev
mailing list