Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: $https variable?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
locojohn
September 28, 2011 07:25AM
Registered: 13 years ago
Posts: 226
Unfortunately, PHP code in many known packages (such as Moodle) sometimes relies on the wrong assumption:
$HTTPS = isset($HTTP_SERVER_VARS['HTTPS']) ? $HTTP_SERVER_VARS['HTTPS'] : 'off';
Because in Apache HTTPS variable is never submitted at all in http mode and coders believe this is enough information to check. So, is there a way to never submit HTTPS=off at all if HTTPS is not present?
Andrejs
Reply
Quote
RSS
Subject
Author
Posted
$https variable?
Luke Scott
September 24, 2011 03:14AM
Re: $https variable?
Andrey N. Oktyabrski
September 24, 2011 03:26AM
Re: $https variable?
mike
September 24, 2011 03:28AM
Re: $https variable?
locojohn
September 28, 2011 07:25AM
Re: $https variable?
António P. P. Almeida
October 04, 2011 07:02AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 194
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024