How to set database filter on sub domain for odoo website using apache web server
Hello Everyone,
Is it possible to filter database on single instance by defining server alias in apache configuration file?
I can achieve this by creating multiple sites configuration files and running multiple instance of opnerp server.
But I want that to be done by runnning single openerp instance. If anyone has idea regarding this will be appreciated.
Thank you.
Anil.
@vee I already have more than two database. I don't want to config the openerp with wsgi. I have applied the filter pattern inside the config.py file. thanks for your comment.
Hi Anil, I assume that you have created the databases x2 already right? -- http://opensourceholic.com/2014/05/09/deploy-openerp-using-mod_proxy-and-mod_wsgi-on-linux-server/ The page above looks sound.. But haven't tested !!but i see??. v7: group.add_option("--db-filter", dest="dbfilter", default='.*', v8 / v9alpha: group.add_option("--db-filter", dest="dbfilter", my_default='.*', So Check versions, and wsgi config and other configs. and clearly the dB's need to be created first... Good Luck