--- loncom/publisher/Attic/lonconstruct.pm 2003/10/18 17:18:14 1.16 +++ loncom/publisher/Attic/lonconstruct.pm 2003/11/18 04:08:15 1.19 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Page Wrapper for Construction # -# $Id: lonconstruct.pm,v 1.16 2003/10/18 17:18:14 taceyjo1 Exp $ +# $Id: lonconstruct.pm,v 1.19 2003/11/18 04:08:15 taceyjo1 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -45,7 +45,7 @@ use Apache::lonnet; use Apache::Log (); use HTML::Entities(); -my $DEBUG = 1; +my $DEBUG = 0; =pod =item Debug($request, $message) @@ -99,7 +99,6 @@ sub handler { return OK if $r->header_only; my $lowerframe=$r->path_info; - &Debug($r, "Initial URL for lower frame: ".$lowerframe); $lowerframe=~s/^\//\/\~/; &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe); @@ -123,7 +122,9 @@ sub handler { &Apache::loncommon::get_unprocessed_cgi ($ENV{'QUERY_STRING'},['decompress']); if ($ENV{'form.decompress'}) { - $lowerframe='http://$ENV{'SERVER_NAME'}/cgi-bin/decompress.pl?decompress'; + &Apache::lonnet::appenv('cgi.path' => $r->path_info); + $lowerframe="http://$ENV{SERVER_NAME}/cgi-bin/decompress.pl"; + } $r->print(<