z-push and different http port

Alexander Schröter webmaster at computational-chemistry.org
Tue Apr 20 08:21:24 CEST 2010


Am 20.04.2010 02:37, schrieb Christian Tardif:
> On 18/04/10 07:41 PM, Alain Abbas wrote:
>>> Right problem on the kolabindex directory , the process who run 
>>> apache must have right to  write in this directory
>>> on a standard install
>>> chown kolab-n:kolab-n kolabindex
>>>
>>>
>>> alain
>>>
>> Sorry it was missed in the wiki i corrected it :-) 
>
> OK.....   kolabindex made me able to sync. But (since there's a but), 
> it seems that I can't make SSL work. Let me explain my setup. My Kolab 
> server resides on a server which has an Apache2 server on it. So, I 
> followed those wiki instructions:
>
> http://wiki.kolab.org/index.php/Kolab2_Integration_with_another_running_apache_server
>
> So, here's the setup. I installed the root cert in the Mobile device 
> (made sure that the target domain matches the cert). I'm still stucked 
> with the 0x80072F17 error. Maybe if I could some kind of redirect to 
> port 80 in the case URI  is /Microsoft......, but I haven't been able 
> to do that (in fact, I would normally redirect to HTTPS, but only 
> proxy to local port 81 when URI is /Microsoft.......  any idea?). But 
> running active-sync on port 80 is somewhat...  dangerous.
>
> The best thing to do would be to make HTTPS work with my setup. How 
> can this be handled?
>
> -- 
> Christian Tardifs

Hi Christian

Here is what I do in case you want to copy my approach for the moment. I 
too have not been able to run ssl successfully on my server ... 
especially from my phone of course from a browser is rather easy. So I 
decided that any request that is not port 443 and isn't 
server/Microsoft.... be redirect to the 443 port. In apache2 the rule 
should look something like.

RewriteEngine On
RewriteCond %{Server_Port} !^443$
RewriteCond %{REQUEST_URI} !^Microsoft.....$
RewriteRule ^/(.*) https://server.com/$1

Something like this (my memory isn't the best) is at least a temporary 
fix. But of course you should get ssl working.

Regards Alexander

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20100420/ea437900/attachment.html>


More information about the users mailing list