Project

General

Profile

Actions

Bug #861

closed

HTTPS not set in CGI environment in SSL

Added by Anonymous almost 16 years ago. Updated over 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

The HTTPS variable in CGI/FastCGI mode is not set when the socket IS SSL enabled.

As a result, phpMyAdmin redirects me to
http://foo.bar.com:443/phpMyAdmin/.... all the time.

Here are two pages that dump environment variables,
the first being phpinfo(), the second is just a simple perl script.

https://council.csie.ntu.edu.tw/~wens/
https://council.csie.ntu.edu.tw/~wens/test.pl

This didn't happen in 1.4.11

Actions #1

Updated by Anonymous over 15 years ago

same problem here.

please fix it! pleease.

-- jl

Actions #2

Updated by darix over 15 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed

Actions #3

Updated by Anonymous over 15 years ago

  • Status changed from Fixed to Need Feedback
  • Resolution deleted (fixed)

patch is wrong.

Should be cgi_env_add, not fcgi_env_add.

Doesn't compile.

Actions #4

Updated by darix over 15 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to fixed

it was fixed 5 minutes after the first checkin. please run svn up

Actions

Also available in: Atom