##
SetHandler perl-script
PerlHandler Apache::OutputChain Apache::NavBar Apache::Registry
Options +ExecCGI
####
sub handler {
my $r = shift;
warn "OK handler\n";
warn "CT: ", $r->content_type, "\n";
$r->content_type eq 'text/html' || return DECLINED;
warn "OK text/html\n";
####
print header(-type=>"text/html");