[opencms-dev] OC10 multi-site configuration
Alex Kandzior
alex at opencms.org
Fri Jan 5 15:56:50 CET 2018
As soon as you have more then one site configured, all access to the OpenCms workplace (or login form) has to be made only by using the configured workplace URL.
Kind regards,
Alex.
-------------------
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
> Am 05.01.2018 um 15:52 schrieb Thorsten Duhn <duhn at regio-gmbh.de>:
>
> 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 <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 <http://www.opencms-wiki.org/wiki/MultiSite_configuration_instructions_%28apache_%2B_mod_jk%29>>
>
> Regards,
> Thorsten
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180105/bd56488d/attachment.htm>
More information about the opencms-dev
mailing list