[Owncloud] Shared SSL Certificate (SSL Proxy)

thessy at besser.de thessy at besser.de
Mon Nov 7 21:10:21 UTC 2011


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



More information about the Owncloud mailing list