Kolab 2.2.3 with a 2nd apache

Alexander Schröter webmaster at computational-chemistry.org
Mon Feb 15 14:36:35 CET 2010


Ok next time I am paying more attention to what I am doing!

Sorry to bother everybody. I simply missed a couple of entries later in the 
openpkg apache.conf. If the wiki says comment every line with "SSLRequireSSL
" it means every line.

Thanks for the help anyways.

On Monday 15 February 2010 01:55:58 pm Alexander Schröter wrote:
> On Monday 15 February 2010 01:32:35 pm Gunnar Wrobel wrote:
> > Quoting Alexander Schröter <webmaster at computational-chemistry.org>:
> > > I am using the URL of my main apache (native) to get this error.
> > > 
> > > What I have been doing so far is the following:
> > >  First I tried to connect directly to the port of the openpkg apache
> > > 
> > > (server:81). After some thinking of course that cannot work because
> > > the native apache forwards everything in the manner server$1 to
> > > https://server$1[1]. So I turned the native apache of and tried to
> > > connect. Also with no luck but I think I have found the problem
> > > because a connection to port 81 give the error
> > > 
> > >   /[Mon Feb 15 11:35:37 2010] [error] [client 85.180.149.61] access
> > > 
> > > to /kolab/var/kolab/www/client failed, reason: SSL connection
> > > required/
> > 
> > Sounds like you are connecting to the server via HTTP. The default
> > setting for the Kolab server apache is to require SSL encryption when
> > accessing the web client or the web admin. If you are trying to
> > connect via HTTP the default action for the OpenPKG apache will be to
> > redirect you to the same URL but prefixed with https://.
> 
> Yes you are right thats the default setting. But what the wiki
> (http://wiki.kolab.org/index.php/Kolab2_Integration_with_another_running_ap
> ache_server) basicly suggests is to put the openpkg apache on port 81 and
> turn off ssl. And
> use your native apache to connect via the proxy module to port:81 And so to
> speak pass it trough from 443 (native) to 81 (openpkg).
> 
> > I'm not familiar with the two apache setup so it is hard for me to
> > find the exact error in your setup but I assume that this redirection
> > might be the cause of your error.
> 
> Weird the SSL Error is gone ... and I don't know why and where? But I have
> a different one now.
> 
> "[Mon Feb 15 13:45:30 2010] [error] [client 85.180.149.61] Directory index
> forbidden by Options directive: /kolab/var/kolab/www/"
> 
> > As the OpenPKG apache is running on HTTPS most of the time anyway I'd
> > suggest you do not focus on handling Port 80 but rather look for port
> > 443 and reroute that one through 444.
> 
> Sorry I don't understand what you want me to do here?
> 
> > Cheers,
> > 
> > Gunnar
> 
> Thanks for the help.
> By the way I joined the kolab irc channel maybe if you have a minute we
> can talk about it in realtime :)
> Alexander
> 
> > >  Pretty sure thats the problem. This way connecting to the native
> > > 
> > > apache calls the openpkg apache and tells him some error. The
> > 
> > native
> > 
> > > probably tries again and thats why I end up with the error below in
> > > the first place.
> > > 
> > >  Question for me is what to do now? Since my native apache changes
> > > 
> > > all the requests form http://server:81[2] to https://server.81[3]
> > > before somebody can get there without ssl I guess I can just remove
> > > the SSL connection required part ... One thing to do and I am glad
> > > for help would be finding out how and where.
> > > 
> > >  Does that make sense or did I go wrong somewhere? I thought I might
> > > 
> > > change the apache (native) rewrite rule to include connections to
> > > any port.
> > > 
> > >  Thanks Alexander
> > >  Am 15.02.2010 09:48, schrieb Gunnar Wrobel: type=\"cite\"
> > > 
> > > cite=\"mid:20100215094833.87451mlb09e3k9y8 at webmail.pardus.de\">
> > > Quoting Alexander Schröter
> > > <webmaster at computational-chemistry.org>[4]:  Hi  I tried to follow
> > > the setup shown on the wiki page. I tested the server before putting
> > > it on the 81 port. So I am sort convinced the
> > > 
> > > kolab server works but i am getting an error when trying to connect
> > > 
> > > to it.  It says: Error: redirectionerror The page is redirected in a
> > > way that it will never be finished. This error can occur when
> > > cookies are disabled or not accepted.
> > 
> > Which URL are you trying to access? And what do the logs of the two
> > apaches show you?
> > 
> > Cheers,
> > 
> > Gunnar
> > 
> > > Thats why i checked the wiki again. It says that you are supposed to
> > > change the /kolab/etc/kolab/templates/fbview-horde-conf.template and
> > > the /kolab/etc/kolab/templates/horde-kolab-conf.template both times
> > > replacing /$conf['cookie']['domain'] = '@@@fqdnhostname@@@';/ with
> > > /$conf['cookie']['domain'] = $_SERVER['HTTP_X_FORWARDED_HOST'];/  .
> > > Since those files seem to be
> > > 
> > > renamed to fbview-kolab-conf.template and
> > > webclient-kolab.conf.template I changed them according to the wiki.
> > > 
> > >  But it is still not working ... maybe someone can help me figure
> > > 
> > > this out. Thanks
> > > 
> >     >> Mail at ease - Rent a kolab groupware server at p at rdus <<
> > 
> > --------------------------------------------------------------------
> > 
> > Links:
> > ------
> > [1] https://server$1
> > [2] http://server:81
> > [3] https://server.81
> > [4] mailto:webmaster at computational-chemistry.org
> 
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users




More information about the users mailing list