Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2628 Prikazi

Hi, 

Can we use dbfilter based on a domain?


For example, 

I have the following databases: 

1. odoo_test

2. odoo_erp

3. odoo_prod


And I have the following domain,

erp.abc.com for   odoo_erp db

erp.prod.com for  odoo_prod  db

\erp.test.com or test.erp.com for  odoo_test  db


I've one server with multiple domains and one odoo service.

Thanks


Regards,

Hemangi.  

Avatar
Opusti
Best Answer

With this nomenclatura you can not define a regex expression which allows to assign domain names to database names automatically. You should use the OCA module dbfilter_from_header in order to explicitely assign a database to a domain name in your virtual host definition of your reverse proxy server.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
mar. 23
2808
1
nov. 24
2141
0
jun. 21
2366
0
mar. 18
2822
1
okt. 15
7192