Skip Menu |

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

Report information
The Basics
Id: 14586
Status: resolved
Worked: 10 min
Priority: 0/
Queue: CGI-SSI

Owner: Nobody in particular
Requestors: lee.goddard [...]

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

Subject: Include default to http scheme doesn't work with https (suggestion)
Download (untitled) / with headers
text/plain 503b
Hi again. You have two lines which read: $uri->scheme($uri->scheme || 'http'); # ?? This allows it to work with https provided the SSL module sets the environment as Apache mod_ssl does if asked to. Presumably, being a CGI::* module, you can expect the server to be configured for CGI. $uri->scheme($uri->scheme || 'http'.($ENV{HTTPS}?"s":"")); The only other environment variable I know which holds relevant info would be SCRIPT_URI. I do not know if that is set for .shtml/Options +Includes....
Download (untitled) / with headers
text/plain 191b
[LGODDARD - Wed Sep 14 09:36:51 2005]: Show quoted text
> Hi again.
Hi! Show quoted text
> $uri->scheme($uri->scheme || 'http'.($ENV{HTTPS}?"s":""));
I've added this. The latest version (0.88) is attached. Best, James
Download CGI-SSI-0.88.tar.gz
application/x-gzip 10.9k

Message body not shown because it is not plain text.

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

Please report any issues with to