Hi

I am building IT infrastructure for our 5 person startup on a VPS service using OSS software.

The setup is as follows

Server
Ubuntu 16.04
LAMP
UFW
Fail2ban
Letsenrcypt
Ldap
SOGo 4
Odoo 11
SuiteCRM

Client
Ubuntu 16.04
Thunderbird
LibreOffice

Odoo requires a reverse proxy to be accessible, but when the proxy is enabled in Apache, SOGo login UI loses all graphics and it is not possible to log in.

- Removing the Proxy required by Odoo makes SOGo work perfectly.

- The SOGo CALDav URLs work even with the Proxy on.

- Logging onto the server with a VNC connector and accessign SOGo from localhost works. It is the remote access that does not work with the proxy.

- I have tested this with and without firewall, but that makes no difference.

Here is the section of my .conf file that is related to this problem

----------------

   ProxyRequests Off
   SetEnv proxy-nokeepalive 1
   ProxyPreserveHost On
   ProxyPass /ldap !
   ProxyPass /SuiteCRM !
   ProxyPass /suitecrm !

   ProxyPass        /SOGo/ http://ouripnumber:20000/SOGo/
   ProxyPassReverse /SOGo/ http://ouripnumber:20000/SOGo/

   <Proxy http://127.0.0.1:20000/SOGo>
      RequestHeader set "x-webobjects-server-port" "443"
      RequestHeader set "x-webobjects-server-name" "ouripnumber/SOGo"
      RequestHeader set "x-webobjects-server-url" "https://ouripnumber/SOGo
      RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
      RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST
      AddDefaultCharset UTF-8
      Order allow,deny
      Allow from all
   </Proxy>

#When this uncommented Odoo works, when I comment it Odoo stops working but SOGo works.
    ProxyPass       / http://ouripnumber:8069/
    ProxyPassReverse / http://ouripnumber:8069/
-------------------------

Any ideas?

Timo


--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to