# The LearningOnline Network with CAPA
# Wrapper for external and binary files as standalone resources
#
# (Edit Handler for RAT Maps
# (TeX Content Handler
#
# 05/29/00,05/30 Gerd Kortemeyer)
# 7/1,6/30 Gerd Kortemeyer)
#
# 7/5 Gerd Kortemeyer
package Apache::lonwrapper;
use strict;
use Apache::Constants qw(:common);
use Apache::lonnet;
# ================================================================ Main Handler
sub handler {
my $r=shift;
$r->content_type('text/html');
$r->send_http_header;
return OK if $r->header_only;
my $url=$r->uri;
$r->print(<<ENDDOCUMENT);
<html>
<head>
</head>
<frameset rows="*" border=0>
<frame src="$url">
</frameset>
</html>
ENDDOCUMENT
return OK;
}
1;
__END__
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>