--- loncom/homework/lonhomework.pm 2001/01/15 21:44:21 1.34 +++ loncom/homework/lonhomework.pm 2001/01/24 14:26:28 1.35 @@ -128,7 +128,12 @@ sub handler { } $request->send_http_header; return OK if $request->header_only; - + + #check if we know where we are + if ($ENV{'request.course.fn'} && !&Apache::lonnet::symbread()) { + $request->internal_redirect('/adm/ambiguous'); return; + } + &Apache::lonhomework::send_header($request); #check if allowed to see