Kolab 2.2.3 with a 2nd apache
Gunnar Wrobel
wrobel at pardus.de
Mon Feb 15 13:32:35 CET 2010
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://.
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.
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.
Cheers,
Gunnar
> 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
--
____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de Dr. Gunnar Wrobel
Tel. : +49 700 6245 0000 Bundesstrasse 29
Fax : +49 721 1513 52322 D-20146 Hamburg
--------------------------------------------------------------------
>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/users/attachments/20100215/ec6282f0/attachment.sig>
More information about the users
mailing list