← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 384798] Re: Impossible to proxy webclient on a subdirectory

 

** Changed in: openobject-client-web/trunk
    Milestone: 6.0 => None

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/384798

Title:
  Impossible to proxy webclient on a subdirectory

Status in OpenERP Web Client:
  Triaged
Status in OpenERP Web Client trunk series:
  Triaged

Bug description:
  I want to serve OpenERP web from a subdirectory on my server, eg. https://avalon.mindswitch.nl/erp using Apache SSL as a proxy.
  Unfortunately it doesn't work as I expected it.

  Current config:
  apache:
  <VirtualHost *:443>
      Servername avalon.mindswitch.nl
      SSLEngine on
      SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
      SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
      <Proxy *>
          Order deny,allow
          Allow from all
      </Proxy>
      ProxyRequests Off
      ProxyPass        /erp http://127.0.0.1:8080/
      ProxyPassReverse /erp  http://127.0.0.1:8080/
  </VirtualHost>

  OpenERP web configuration
  ....
  base_url_filter.on = True
  base_url_filter.use_x_forwarded_host = False
  base_url_filter.base_url = "https://avalon.mindswitch.nl/erp";
  ...