Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2608 Lượt xem

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.  

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 23
2788
1
thg 11 24
2131
0
thg 6 21
2361
0
thg 3 18
2799
1
thg 10 15
7187