Community mailing list archives

community@mail.odoo.com

RE: dbfilter question

by
Rooms For (Hong Kong) Limited, Yoshi Tashiro
- 11/16/2015 19:42:19

It is possible if you use this: https://github.com/OCA/server-tools/tree/8.0/dbfilter_from_header

 

But you probably need to separate the virtual host entries for each subdomain (+ the one that covers all the databases) in Apache/Nginx.  So it can be tedious if you have frequent changes in subdomain arrangement.  There might be a smart way to handle this, though (I just don’t know).

 

---

Yoshi Tashiro

 

From: Gastón Pablo Pérez [mailto:gpperez@gmail.com]
Sent: Tuesday, November 17, 2015 3:22 AM
To: Community <community@mail.odoo.com>
Subject: dbfilter question

 

HI all:

 

Im trying to do a little complex configuration on my server, so I have multiples odoo v8 databases and Im trying to access to each one by diferent url, I configured the dbfilter option in the config file like this:

 

dbfilter = ^%d$

 

So I can access directly to each database by the subdomain, I mean

 

http://subdomain1.domain redirects me to the subdomain1 database

 

http://subdomain2.domain redirects me to the subdomain2 database

 

OK, works really good BUT.... I need a method or a way to access to odoo database manager and be able to see all the databases in the combos and have a method to access to one particular database that no has a subdomain configuration

 

Is it posible?

 

thanks in advance

 

Lic. Gastón Pablo Perez
Email: gpperez@gmail.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe