#!/usr/local/bin/perl
require 'jcode.pl';

print "Content-type: text/html\n\n";
$browser=$ENV{'HTTP_USER_AGENT'};
if (($browser =~ /Win/) || ($browser =~ /win/) || ($browser =~ /WIN/)){
    print "<html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1>You don't have permission to access /~noda/ on this server.<p><hr><address>Apache/1.3.4 Server at www.ohnolab.org Port 80</address></body></html>";
    exit 0;
}
print<<EndOfHTML;
<html><head>
<title>check</title>
</head>
<body>
<h1>browser check</h1>
$browser
</body></html>
EndOfHTML
exit 0;



