Project

General

Profile

Actions

Fehler #157

open

Not work on 2003 https port

Added by Anonymous about 10 years ago. Updated over 9 years ago.

Status:
Neu
Priority:
Dringend
Category:
Bug
Target version:
-
eXtplorer Version:
2.1.4
Joomla! Version:
none

Description

The file manager didn't work on the port 2003 with SSL or Autosigned certificate.


Files

https-http.png (26.4 KB) https-http.png Ekevoo Duma, 10/17/2014 03:07 PM
Actions #1

Updated by Ekevoo Duma over 9 years ago

Also affects me. See attachment for probable cause.

Actions #2

Updated by Sören Eberhardt-Biermann over 9 years ago

In the file /include/init.php, lines 71 ..
replace

if ($_SERVER['SERVER_PORT'] == 443 ) {
    $GLOBALS["script_name"] = "https://" . $GLOBALS['__SERVER']['HTTP_HOST'] . $GLOBALS['__SERVER']["PHP_SELF"];
    $GLOBALS['home_url']    = "https://" . $GLOBALS['__SERVER']['HTTP_HOST'] . dirname($GLOBALS['__SERVER']["PHP_SELF"]);
} else {
    $GLOBALS["script_name"] = "http://"  . $GLOBALS['__SERVER']['HTTP_HOST'] . $GLOBALS['__SERVER']["PHP_SELF"];
    $GLOBALS['home_url']    = "http://"  . $GLOBALS['__SERVER']['HTTP_HOST'] . dirname($GLOBALS['__SERVER']["PHP_SELF"]);
}

with

$GLOBALS["script_name"] = "//" . $GLOBALS['__SERVER']['HTTP_HOST'] . $GLOBALS['__SERVER']["PHP_SELF"];
$GLOBALS['home_url']    = "//" . $GLOBALS['__SERVER']['HTTP_HOST'] . dirname($GLOBALS['__SERVER']["PHP_SELF"]);

that should fix it?

Actions

Also available in: Atom PDF