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,  <[email protected]> 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
> [email protected]
> https://mail.kde.org/mailman/listinfo/owncloud
>
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to