So there's a restriction on $_SERVER[SERVER_PORT]? Is it compiled in? On Mar 23, 2017 14:37, "Rainer Canavan" <rainer.cana...@sevenval.com> wrote:
[...] >> SetEnvIf X-HTTPS "on" SERVER_PORT=443 >> >> The above results in: [...] >> $_SERVER[SERVER_PORT]; => 80 We had the same problem a few years ago, and went with a workaround in the end. We're simply setting and evaluating a different variable instead of SERVER_PORT, e.g. OVERRIDE_SERVER_PORT, if it is set. rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org On Mar 23, 2017 14:37, "Rainer Canavan" <rainer.cana...@sevenval.com> wrote: [...] >> SetEnvIf X-HTTPS "on" SERVER_PORT=443 >> >> The above results in: [...] >> $_SERVER[SERVER_PORT]; => 80 We had the same problem a few years ago, and went with a workaround in the end. We're simply setting and evaluating a different variable instead of SERVER_PORT, e.g. OVERRIDE_SERVER_PORT, if it is set. rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org