Subject: | Include default to http scheme doesn't work with https (suggestion) |
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....