[Owncloud] Shared SSL Certificate (SSL Proxy)
thessy at besser.de
thessy at besser.de
Wed Nov 23 21:23:15 UTC 2011
Hi,
found another hint about ssl proxy:
http://www.php.net/manual/en/reserved.variables.server.php#93599
With all that information I succeeded in creating a working patch (against git
from this evening).
It would be great if that could be integrated into owncloud.
Regards
Thomas aka thessy
Am Montag 07 November 2011, 22:23:52 schrieb Robin Appelman:
> Not entire sure, but I think $_SERVER['https'] doesn't have to be 'on'
> when https is used, just a non empty value.
>
> - Robin Appelman
>
> On Mon, Nov 7, 2011 at 22:10, <thessy at besser.de> wrote:
> > Hi,
> >
> > installing oc (from git) on my shared web hosting provider (Hosteurope)
> > works fine. I want to use it over https. Therefore a so called shared
> > SSL Certificate (SSL Proxy) exists.
> >
> > So my domain "www.besser.de" is available over
> > "https://ssl.webpack.de/besser.de"
> >
> > Added a new config value 'sslproxy' with the right value and tried to
> > patch 'lib/base.php' (line 115 ff):
> >
> > if(!isset($_SERVER['HTTPS']) or $_SERVER['HTTPS'] != 'on') {
> > $sslproxy = OC_Config::getValue( "sslproxy", false );
> > if (isset($sslproxy)) {
> > $url = "https://". $sslproxy . $_SERVER['REQUEST_URI'];
> > } else {
> > $url = "https://". $_SERVER['SERVER_NAME'] .
> > $_SERVER['REQUEST_URI'];
> > }
> >
> > But it ends with an infinite loop. Any hints where the problem could be?
> >
> > Thanks in advance...
> > Thomas
> > _______________________________________________
> > Owncloud mailing list
> > Owncloud at kde.org
> > https://mail.kde.org/mailman/listinfo/owncloud
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssl-proxy.patch
Type: text/x-patch
Size: 1979 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20111123/9504d134/attachment.bin>
More information about the Owncloud
mailing list