Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to setup a machine on which I want to host several OpenERP instances.
So I've made 2 servers configuration file for two OpenERP instances running on different ports.
Also I've created two Apache VHost, with proxy_pass in order to redirect :
- `openerp1.domain.com` to `openerp1.domain.com:port1`
- `openerp2.domain.com` to `openerp2.domain.com:port2`
But I still can't manage redirections based on subdomain value (openerp1 or openerp2)
When I access openerp2.domain.com, I get content from openerp1.domain.com
Here are is one of the vhost file:
CustomLog /var/log/apache2/cap_oe_template.access.log combined
Allow from all
ProxyPass / http://127.0.0.1:9069/
ProxyPassReverse / http://127.0.0.1:9069/
Options Indexes FollowSymLinks MultiViews
allow from all
# Fix IE problem (http error 408/409)
SetEnv proxy-nokeepalive 1
the other vhost file is similar, the only changes are in :
`ProxyPass / http://127.0.0.1:8069/`
`ProxyPassReverse / http://127.0.0.1:8069/`
Have you ever try to host multiple OpenERP instances with redirection of the subdomain on the appropriate port on the same machine ?
Do you see anything wrong in what I did ?
Thanks for your help
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/11/14, 9:33 AM|
|Seen: 2285 times|
|Last updated: 3/16/15, 8:10 AM|