From:
[email protected]
Package: archzoom
Version: 0.3.0-1
Tags: patch
apache2, at least, seems to set HTTPS to 'on' rather than 'ON' which
breaks archzoom's redirection stuff. A "works for me" patch is
attached.
--
James
--- archzoom-0.3.0/perllib/ArchZoom/LiteCGI.pm.orig 2004-08-14 23:54:09.970719961 +0100
+++ archzoom-0.3.0/perllib/ArchZoom/LiteCGI.pm 2004-08-14 23:54:22.738984998 +0100
@@ -36,7 +36,7 @@
$script_name = "/$script_name" unless $script_name =~ /^\//;
my $proto = "http";
- $proto = "https" if $ENV{HTTPS} && $ENV{HTTPS} eq "ON"
+ $proto = "https" if $ENV{HTTPS} && ($ENV{HTTPS} eq "ON" || $ENV{HTTPS} eq "on")
|| $ENV{'SERVER_PROTOCOL'} && $ENV{'SERVER_PROTOCOL'} =~ /^https/i;
my $default_port = $proto eq "https"? 443: 80;
my $server_name = $ENV{SERVER_NAME} || "localhost";
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)