Can we use Collabora Online with more than one host?

Hi - and first of all - Thank you for the great Collabora Online Software!

We just started to use it together with wopi.

In etc/coolwsd/coolwsd.xml

we set under

<storage desc="Backend storage">
    <filesystem allow="false" />

this host:

<wopi desc="Allow/deny wopi storage." allow="true">
            <host desc="Regex pattern of hostname to allow or deny." allow="true">my.first-host.tld</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="true">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
            <host desc="Regex pattern of hostname to allow or deny." allow="false">192\.168\.1\.1</host>

so for my.first-host.tld things work perfect.

Now we want to add an other host and we tried this by simply adding the line

<host desc="Regex pattern of hostname to allow or deny." allow="true">my.second-host.tld</host>

but that did not work at all…

What is the right way to add a second host?
Thanks for your help

so i added

<alias_groups desc="default mode is 'first' it allows only the first host when groups are not defined. set mode to 'groups' and define group to allow multiple host and its aliases" mode="groups">
<group>
<host desc="hostname to allow or deny." allow="true">https://my.first-host.tld</host>
</group>

<group>
<host desc="hostname to allow or deny." allow="true">https://my.second-host.tld</host>
</group>
</alias_groups>

but it still does not work

Please can someone tell me: need to be wopi host and collaboraonline on the same server ?
How to whitelist a server from a different server ?

hi @session

  • <host> entries must be hostname only
  • alias_groups does not replace the <wopi> allow list
  • Both hosts must be in the same alias group