# Property wopi host allow not working/filtering

**URL:** https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843
**Category:** User Support
**Created:** [May 23, 2023, 12:00pm UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843 "2023-05-23T12:00:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![uliulmer](https://avatars.discourse-cdn.com/v4/letter/u/a88e57/32.png) [@uliulmer](https://forum.collaboraonline.com/u/uliulmer)
#### Post date: [May 23, 2023, 12:00pm UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843/1 "2023-05-23T12:00:57Z")

</div>

Hello

I am running CODE on dedicated ubuntu 20 with apache2 reverse proxy; installed with packages for ubuntu.

If I set in coolwsd.xml the wopi-host-option  
(-host desc=“hostname to allow or deny.” allow=“true”-)scheme://hostname:port(-/host-)  
(- instead of \<  
with right or wrong server names I can always open documents from our Nextcloud server. This means that everybody can use our CODE server.

What did I overlook?

Thanks for reading and answering.

---

<div class="post-metadata">

### Author: ![rash419](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/rash419/32/1157_2.png) [@rash419](https://forum.collaboraonline.com/u/rash419)
#### Post date: [May 24, 2023, 12:47pm UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843/2 "2023-05-24T12:47:43Z")

</div>

@uliulmer You need to enable groups options then only it will consider the host entries  
Let me paste the example configuration:

```auto
          <alias_groups mode="groups">
                <group>
                    <host allow="true">https://mydomain.com:443</host>
                </group>
            </alias_groups>

```

More info why mode needs to be changed to groups check description in coolwsd.xml about alias\_groups  
Let me know if It works as expected : )  
More info on sdk: [Configuration — SDK https://sdk.collaboraonline.com/ documentation](https://sdk.collaboraonline.com/docs/installation/Configuration.html?highlight=alias#multihost-configuration)

---

<div class="post-metadata">

### Author: ![uliulmer](https://avatars.discourse-cdn.com/v4/letter/u/a88e57/32.png) [@uliulmer](https://forum.collaboraonline.com/u/uliulmer)
#### Post date: [May 25, 2023, 8:40am UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843/3 "2023-05-25T08:40:13Z")

</div>

Thank you very much, it didn’t work  
I can still access from an different server name (alias) and Admin Console shows both wopi hosts.

Is there a possibility

- to check the configuration
- to see with config properties are in the running coolwsd  
Thanks a lot

---

<div class="post-metadata">

### Author: ![uliulmer](https://avatars.discourse-cdn.com/v4/letter/u/a88e57/32.png) [@uliulmer](https://forum.collaboraonline.com/u/uliulmer)
#### Post date: [May 25, 2023, 9:35am UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843/4 "2023-05-25T09:35:55Z")

</div>

forgot to change \<!– (and end of comment) to

now it works

Thank you very much

---

<div class="post-metadata">

### Author: ![rash419](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/rash419/32/1157_2.png) [@rash419](https://forum.collaboraonline.com/u/rash419)
#### Post date: [May 25, 2023, 9:36am UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843/5 "2023-05-25T09:36:26Z")

</div>

@uliulmer glad it worked : )

---

<div class="post-metadata">

### Author: ![darshan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/darshan/32/2230_2.png) [@darshan](https://forum.collaboraonline.com/u/darshan)
#### Post date: [August 6, 2024, 2:19pm UTC](https://forum.collaboraonline.com/t/property-wopi-host-allow-not-working-filtering/1843/6 "2024-08-06T14:19:18Z")

</div>


