Skip Menu |

This queue is for tickets about the CGI-SSI CPAN distribution.

Report information
The Basics
Id: 50924
Status: new
Priority: 0/
Queue: CGI-SSI

Owner: Nobody in particular
Requestors: josh [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: $ENV{HTTPS} on IIS 'off' vs undef
Date: Wed, 28 Oct 2009 10:53:42 -0600
To: bug-CGI-SSI [...]
From: Josh Kellendonk <josh [...]>
Download (untitled) / with headers
text/plain 505b
Perl Version: 5.8.3 CGI::SSI version: 0.91 Windows Server 2003 Standard Edition, IIS6 In IIS, $ENV{HTTPS} eq 'off' when not using https. As a result when you #exec cgi or #include virtual with CGI::SSI in IIS without https it requests https:// incorrectly, breaking some sites. In various places, the code looks like this: $uri->scheme($uri->scheme || ($ENV{HTTPS} ? 'https' : 'http')); I changed it to this: $uri->scheme($uri->scheme || (($ENV{HTTPS} && $ENV{HTTPS} ne 'off') ? 'https' : 'http'));

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to