--- rat/lonambiguous.pm 2004/12/20 20:13:03 1.12 +++ rat/lonambiguous.pm 2004/12/20 20:13:52 1.13 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to resolve ambiguous file locations # -# $Id: lonambiguous.pm,v 1.12 2004/12/20 20:13:03 albertel Exp $ +# $Id: lonambiguous.pm,v 1.13 2004/12/20 20:13:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -149,6 +149,12 @@ sub handler { return OK; } } +# ------------------------------------Encrypted requests go straight to navmaps + if ($ENV{'request.enc'}) { + $r->content_type('text/html'); + $r->header_out(Location => 'http://'.$ENV{'HTTP_HOST'}.'/adm/navmaps'); + return REDIRECT; + } # ------------------------------------------------ Would be standalone resource if (tie(%bighash,'GDBM_File',$ENV{'request.course.fn'}.'.db',