Message-ID: <4R3Zb9$Lir@newsmth.net>
Subject: CGI�募�������同web页����示��同����,�泄� Content-type
Date: Wed, 08 Nov 2006 03:41:46 +0000
From: laofo@newsmth.net-SPAM.no (fofo)
Path: news.cnusenet.org!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.lang.perl.mbox.zip!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!image.surnet.ru!newsfeed.simtel.ru!Simtel.RU!news.newsmth.net!NEWSMTH
Newsgroups: cn.bbs.comp.lang.perl
Organization: 水木����
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Perl/R/M.1162957305.90
Xref: news.cnusenet.org cn.bbs.comp.lang.perl:30003

������windows 2003 server,IIS, perl 5.8.8

��������目录a��b�露��直������一��c.cgi���募�����������目录a��默��站�,直���没�192.168.10.2�涂��苑��剩������b要��192.168.10.2/b��

���曳��什�同目录�卤���同�����募���时����示���莶�同
192.168.10.2/c.cgi��示 
I just wrote a web page using Perl!

192.168.10.2/b/c.cgi��示
Content-type: text/html 
I just wrote a web page using Perl!


��������什么���,什么�芙��������。谢谢��


�卤���c.cgi�募�����
#!/usr/bin/perl

print "Content-type:    text/html\n\n";
print "<HTML><HEAD>";

print "<TITLE>CGI Test</TITLE>";
print "</HEAD>";
print "<BODY><H2>I just wrote a web page using Perl!</H2>";
print "</BODY></HTML>";


--
               .  ..                                                      �m�m
        水    . �B ��                                        ����  ��  ��
              ������一��������然����一�������式              ������     �l
          木       .��. ��                                    ��   ����
                        .�B�� .                               �u������         
                           �B�B���摺���                      �颞垿����i miss u 


�� ��源:��水木���� http://newsmth.net��[FROM: 221.226.124.*]