Apacheのインストール
<HEAD> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META http-equiv="Content-Style-Type" content="text/css"> <TITLE>testCGI</TITLE> </HEAD> <BODY> <h3> local web ページです<BR> CGIの試験 <H4><a href="hello.cgi">1行表示</a><BR> <BR> </BODY> </HTML>
#!/Perl/bin/perl # first sample print<<HT_ML; Content-type: text/html; charset='Shift_JIS'\n\n <html> <head> <title>sample1</title> </head> <body> <h1>hello2</h1> こんにちは </body> </html> HT_ML