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 connect currently to my ERP server by using port 8069, this way: http://myserver:8069.
Since Apache is listening in port 80, and OpenERP server is in port 8069, I cannot make OpenERP to listen in port 80.
Is there a way to configure Apache so that when received the request, it load the content of port 8069? maybe by mean of a Proxy in virtual host definition, but I don't know how. Also, I tried to use .htaccess but a redirection occurs instead, and what I want is not to show the port number.
Any help will be appreciated,
Yes, add a virtual host with Proxy to your apache config:
<virtualhost *:80=""> ServerName myserver ServerAdmin webclient@localhost
<Proxy> Order deny,allow Allow from all </Proxy> ProxyRequests Off ProxyPass / http://127.0.0.1:8069/ ProxyPassReverse / http://127.0.0.1:8069/ # Fix IE problem (http error 408/409) SetEnv proxy-nokeepalive 1 ErrorLog /var/log/apache2/webclient-error.log CustomLog /var/log/apache2/webclient-access.log combined
And then add the --proxy-mode option to openerp-server
This works with 6.1 and 7.0
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: 3/20/13, 11:45 PM|
|Seen: 62275 times|
|Last updated: 3/16/15, 8:10 AM|