Odoo Help

Welcome!

This community 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.

1

How to Apache SSL proxy to openerp running in VM?

By
john
on 4/4/13, 11:38 AM 3,451 views

hi, I have installed openerp v7 in an ubuntu 12.04 Virtual machine from launchpad.i.e server, web, addons.

I configured SSL reverse proxy on virtual machine and my configuration for virtual host *:443 are

<VirtualHost *:443>
ServerName openerp.mydomain.net
ServerAdmin openerp@localhost

SSLEngine on
SSLCertificateFile /etc/ssl/openerp/server.crt
SSLCertificateKeyFile /etc/ssl/openerp/server.key

ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyVia On

ProxyPass / http: //172.16.150.14:8069/
ProxyPassReverse / http: //172.16.150.14:8069/

RequestHeader set "X-Forwarded-Proto" "https"

# Fix IE problem (httpapache proxy dav error 408/409)
SetEnv proxy-nokeepalive 1

</VirtualHost>

on host, i have configured apache reverse proxy for my subdomain in vhost_ssl.conf as

SSLEngine On 
SSLProxyEngine On 
ProxyRequests Off 
ProxyPreserveHost On

<Proxy *>
    Order deny,allow
    Allow from all 
</Proxy>

ProxyPass / https: //172.16.150.14/ 
ProxyPassReverse / https: //172.16.150.14/         
SetEnv proxy-nokeepalive 1

<Location />
    Order allow,deny
    Allow from all 
</Location>

I have set 172.16.150.14 on netrpc and xmlrcs interfaces in openerp-server.conf. Now, when i access https: //openerp.mydomain.net from firefox and chrome browser.., I get http: //openerp.mydomain.net, openerp.mydomain.net/?db=testingdb which says not found.

But when i access URL from IE 9, the URL https: //openerp.mydomain.net works ok .. secondly if i change the parameter list_db= false, then the links works as expected.. Kindly let me know what is creating bottleneck here, i am struck from here making the URL to work.

Awaiting response, thanks in advance.

Why does this question have a bzr tag? Surely it has nothing to do with bazaar? I don't think it relates to installation either, which means another two tags can go. Since all questions here should be about openerp, that tag could go as well, leaving you with a single tag: v7. Instead you could have added tags like: apache, proxy, ubuntu and ssl. Just a suggestion.

Lorenzo Cabrini
on 4/4/13, 1:12 PM

Thanks for suggestion, i have changed it.

john
on 4/5/13, 5:45 AM

awaiting for workaround solution. . . Anyone.

john
on 5/6/13, 3:59 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/4/13, 11:38 AM
Seen: 3451 times
Last updated: 3/16/15, 8:10 AM