🌍
English
Hello/Hi/Greetings,
I am running Piwigo behind a proxy server. on a non stanardare ssl port 6245. When I log in am directed to a URL that does not container the :6245 port identify. I am already using 443 for another web service. how can I fix this
Offline
Hello/Hi/Greetings,
try this
include/functions_url.inc.php on line 72 to 80
if ( (!$is_https && $_SERVER['SERVER_PORT'] != 80)
||($is_https && $_SERVER['SERVER_PORT'] != 443))
{
$url_port = ':'.$_SERVER['SERVER_PORT'];
if (strrchr($url, ':') != $url_port)
{
$url .= $url_port;
}
}
from that
/* if ( (!$is_https && $_SERVER['SERVER_PORT'] != 80) ||($is_https && $_SERVER['SERVER_PORT'] != 443)) { $url_port = ':'.$_SERVER['SERVER_PORT']; if (strrchr($url, ':') != $url_port) { $url .= $url_port; } } */
thx
k5
Offline