--- loncom/auth/lonacc.pm 2006/11/23 01:49:41 1.102 +++ loncom/auth/lonacc.pm 2006/12/11 14:06:04 1.103 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.102 2006/11/23 01:49:41 albertel Exp $ +# $Id: lonacc.pm,v 1.103 2006/12/11 14:06:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -36,6 +36,7 @@ use Apache::lonnet; use Apache::loncommon(); use Apache::lonlocal; use Apache::restrictedaccess(); +use Apache::blockedaccess(); use CGI::Cookie(); use Fcntl qw(:flock); use LONCAPA; @@ -256,6 +257,10 @@ sub handler { &Apache::restrictedaccess::setup_handler($r); return OK; } + if ($access eq 'B') { + &Apache::blockedaccess::setup_handler($r); + return OK; + } if (($access ne '2') && ($access ne 'F')) { $env{'user.error.msg'}="$requrl:bre:1:1:Access Denied"; return HTTP_NOT_ACCEPTABLE;