回到學院首頁選擇製網課程教學與製網有關的語言選擇輔助課程選擇網頁材料了解 HKIWC
The Best Web Hosting Company
討論區目錄 | 使用疑難 | 成為會員 | 會員登入 | 搜索

Previous ThreadView All ThreadsNext Thread***


標題:ActivePerl + Tomcat Reply to this message*
姓名:calvinlkn
時間:2004/02/16 PM 6:16



Hi all,

My platform is : WinNT + Tomcat4.1.30 + ActivePerl v.5.8.3
Following the instrunction of tomcat.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html
and changed this :
1. uncomment the conf\web.xml cgi segment
2. rename the jar file in the server\lib
3. Installed the ActivePerl v5.8.3

I CAN run the perl program under the IE6, simply input the link http://localhost:8080/assignment2/cgi-bin/example.pl.cgi

But I CANNOT runing the same program, when I using a HTML form with submit action="./assignment2/cgi-bin/example.pl.cgi , it return error HTTP 500
"The server encountered an internal error () that prevented it from fulfilling this request."
------------------------------------------------
My testing perl program :

#!c:\Perl\bin\perl.exe

print
"Content-type: text/plain\n\n";

--------------------------------------------------------------------

Anyone kindly give me hand ??
Calvin









Jump to
The Best Web Hosting Company
Download Internet Explorer Download Netscape Netvigator