When I do in HTML::Mason::ApacheHandler
sub handler {
my ($r) = @_;
$r->content_type('text/plain');
$r->print( 'YES' );
$r->log_error( $r->bytes_sent );
return 200;
}
I get page:
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.22 (Debian) Server at localhost Port 443
How to just print 'YES' to the browser?