Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » KC 7.2.1 problem with ProxyServer in Front
  •  
GeE

Messages: 8
Karma: 0
Send a private message to this user
We use an apache2 server in our DMZ which forwards proxy requests to kerio. This worked fine until version "7.2.0-4008-p1". But since we installed "7.2.1-4368" the problem started.

Without the apach2 proxy it works. But with it, the interface loads half and stops loading.

Here is our apache config (since i cannot post URLs here, i removed one of the double slashes in this example).

<IfModule mod_proxy.c>
ProxyVia Full
ProxyPreserveHost off
<ProxyMatch https:/192.168.1.99:9091/.*>
Order deny,allow
Allow from all
</ProxyMatch>
<LocationMatch "^[^/]">
Deny from all
</LocationMatch>
</IfModule>

ProxyPass / https:/192.168.1.99:9091/
ProxyPassReverse / https:/192.168.1.99:9091/


The error-console of firefox shows the following:

Error: unterminated string literal
Source File: .../webmail/main.js?v=d552dc7afb8470c0d3ad6409dc20da19
Line: 2536, Column: 41
Source Code:
var x_9s6 = parseInt(x_44q.getAttribute("

Error: x_9mp is not defined
Source File: .../webmail/main.php
Line: 275


Now i wonder if somebody else is using apache in front of kerio connect and if it still works.
  •  
Kedar

Messages: 1320
Karma: 48
Send a private message to this user
Names of variables are scrambled and they are different in each version. I guess there should be some problem with cache. I suggest try empty cache in browsers and restart Apache proxy.
  •  
GeE

Messages: 8
Karma: 0
Send a private message to this user
Hi Radek,

i tried that already, but it did not have any effect. Is there anything else i could try?

cheers

Guy
  •  
GeE

Messages: 8
Karma: 0
Send a private message to this user
Update:
With Internet Explorer v8 and v9 it works.
But it does not with Firefox, Chrome or Opera. Tested under Mac and Windows...
  •  
GeE

Messages: 8
Karma: 0
Send a private message to this user
Updated to Kerio v7.2.2 but it still does not work... Sad
  •  
dsegel

Messages: 27
Karma: 0
Send a private message to this user
It has something to do with the advanced features Kerio implements when it detects you using Firefox or Safari; if you use a different browser (or set your User Agent String to something different) then it loads fine.

ETA: the problem appears to be that the apache proxy is truncating the main.php file after 64K. I'm looking into how the apache buffer size may be increased to fix this.

[Updated on: Thu, 21 July 2011 21:42]

  •  
GeE

Messages: 8
Karma: 0
Send a private message to this user
Yes, you're right, it looks like i'm affected by this bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50481

I'm running still running Debian Lenny, so i installed apache v2.2.16 from the backports. But it looks like, this is still too recent, since it has been committed to v2.2.18. Need to find a newer version... Keep you posted.
  •  
dsegel

Messages: 27
Karma: 0
Send a private message to this user
I found the same bug - I just compiled a copy of mod_ssl from the 2.18 branch and put it in place of the existing (Ubuntu) version (2.13) and it seems to have fixed it.
  •  
GeE

Messages: 8
Karma: 0
Send a private message to this user
Thank you for pointing me in the right direction.
Like this i got it to work. Here's what i did:

vi /etc/apt/sources.list          <--- add backports to it

apt-get -t lenny-backports install apache2
apt-get -t lenny-backports install apache2-utils

apt-get -t lenny-backports source apache2
apt-get -t lenny-backports build-dep apache2
cd ~/apache2-2.2.16
vi patch-50481.txt                <--- first patch from apache bug 50481
patch -p0 < patch-50481.txt
dpkg-buildpackage -uc -us -b

dpkg -i apache2_2.2.16-6+squeeze1~bpo50+1_i386.deb
dpkg -i apache2.2-bin_2.2.16-6+squeeze1~bpo50+1_i386.deb
dpkg -i apache2.2-common_2.2.16-6+squeeze1~bpo50+1_i386.deb
dpkg -i apache2-mpm-worker_2.2.16-6+squeeze1~bpo50+1_i386.deb


Here is some more info about patching apache on debian:
http://base6.com/2009/06/07/patching-apache-on-debian/
Previous Topic: 7.2.2 Update
Next Topic: URL to public folder?
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Wed Oct 18 14:52:28 CEST 2017

Total time taken to generate the page: 0.00478 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.