[Owncloud] Shared SSL Certificate (SSL Proxy)

Robin Appelman icewind1991 at gmail.com
Mon Nov 7 21:23:52 UTC 2011


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
>



More information about the Owncloud mailing list