Browser is launched from A and pointed to http://demo/, Apache logs on B (using RewriteLogLevel 9) show that the request goes through B, is matched, rewritten and send to the proxy. I do not get the error you demonstrate here (though I do get a slightly different issue that after edition the form redirections seem to setup the domain anew, and my browser gets sent to srv1:8080 instead of demo, which yields a host not found)
Finally got around to testing it, I am unable to reproduce the issue using 5.0.12.
I'm using a machine A and a VM B, A sees B as demo and B sees A as srv1 (via /etc/hosts files), the web client runs on A with the configuration
[global] socket_ host = "0.0.0.0" socket_ port = 8080 thread_ pool = 10 environment = "development" profile_ on = False profile_ dir = "profile"
server.
server.
server.
server.
server.
server.
tools.proxy.on = True proxy.base = '''
#tools.
#log. access_ file = "/var/log/ openerp- web/access. log" openerp- web/error. log"
#log.error_file = "/var/log/
[openerp]
host = 'localhost'
port = '8070'
protocol = 'socket'
[openerp-web] visible = True listgrid. limit = 5 listgrid. min_rows = 5
dblist.filter = 'EXACT'
dbbutton.
company.url = ''
child.
child.
Apache runs on B with the configuration
ProxyRequest On
RewriteEngine On
RewriteCond %{HTTP_HOST} ^demo$ srv1:8080/ $1 [P,L]
RewriteRule ^/(.*)$ http://
<Proxy http:// srv1:8080/ *>
Order deny,allow
Allow from all
</Proxy>
Browser is launched from A and pointed to http:// demo/, Apache logs on B (using RewriteLogLevel 9) show that the request goes through B, is matched, rewritten and send to the proxy. I do not get the error you demonstrate here (though I do get a slightly different issue that after edition the form redirections seem to setup the domain anew, and my browser gets sent to srv1:8080 instead of demo, which yields a host not found)