Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

ActivePerl + Tomcat

Quote Reply
ActivePerl + Tomcat
Hi all,

I cannot run perl on tomcat.
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