Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2620 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 23
2799
1
lis 24
2132
0
čvn 21
2364
0
bře 18
2817
1
říj 15
7189