Re: Help Perl config for NT
Posted in 1997
Hi, Had the same message myself recently - on Unix, but possibly the same principle. Problem in my case was caused by one of two things - problem in the Perl script itself. Easy to check - does it run OK on the command line? - problem in the environment. Most web stuff run as nobody, who doesn't have too many environment variables set up. Can add environment variables at the start of your Perl script, eg $ENV{INFORMIXDIR} = "/export/home/informix"; I found http://www.cc.ukans.edu/info/cgi/cgi-with-perl.html quite useful. Hope this helps, Graine MT wrote: } } Hello All, } } I am at the end of my tether with this problem! I am trying to get } a simple "HELLO WORLD" Perl script to work on my WinNT 4.0 server. } I use Netscape Enterprise and have a cgi-bin directory with perl files } in it. Here is a list of what i have already done: } } * Added .pl in the registry and set proper permissions. } * Created and tested a batch file (they work...but not on the web!) } * put in the Perl interpreter } * made a batch file calling the perl script } * called it from my page with <A HREF="/cgi-bin/mycgi.bat">My perl } script</A> } } I keep getting SERVER ERROR: } This server has encountered an internal error which prevents it from } fulfilling your request. The most likely cause is a misconfiguration. } Please ask the administrator to look for messages in the server's error } log. } } If anyone can help me, I would deeply appreciate it!!!!!!!! } } Marjan