Actions
Fehler #157
openNot work on 2003 https port
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
Actions
Added by Anonymous over 10 years ago. Updated over 9 years ago.
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 |
Also affects me. See attachment for probable cause.
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?