Ticket #1499 (closed defect: fixed)

Opened 5 months ago

Last modified 4 months ago

HTTPS env var should be "on" when using mod_extforward and the X-Forwarded-Proto header is set.

Reported by: Thomas Steinacher <tom@eggdrop.ch> Assigned to: glen
Priority: normal Milestone: 1.4.19
Component: mod_extforward Version: 1.4.18
Severity: normal Keywords: mod_extforward,patch
Cc: tom@eggdrop.ch Blocking:
Need Feedback: 0

Description

mod_extforward should parse the "X-Forwarded-Proto" header. If it is equal to "https", this should be stored in the connection variable somewhere (i.e. the is_ssl variable should be set to 1). However, simply setting is_ssl to 1 breaks the server, so there should be another way to make mod_fastcgi set the HTTPS environment variable.

Attachments

extforward-proto.patch (2.0 kB) - added by Thomas Steinacher <tom@eggdrop.ch> on 12/31/2007 07:48:06 PM.
Here is an incomplete and ugly patch which solves the problem for fastcgi by introducing an is_proxy_ssl variable.

Change History

12/31/2007 07:48:06 PM changed by Thomas Steinacher <tom@eggdrop.ch>

  • attachment extforward-proto.patch added.

Here is an incomplete and ugly patch which solves the problem for fastcgi by introducing an is_proxy_ssl variable.

01/17/2008 12:45:01 PM changed by glen

  • keywords set to mod_extforward,patch.

01/17/2008 12:47:26 PM changed by glen

  • owner changed from jan to glen.

01/18/2008 09:08:36 AM changed by glen

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from 1.5.0 to 1.4.19.

Committed revision [2052]

01/18/2008 04:35:12 PM changed by glen

  • component changed from core to mod_extforward.

Add/Change #1499 (HTTPS env var should be "on" when using mod_extforward and the X-Forwarded-Proto header is set.)




Change Properties
Action