It works now after changing the shebang to "#!usr/bin/perl" Thank everyone for all the help.
-Vath -----Original Message----- From: Jamie Le Tual [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 7:12 AM To: Nguon, Vath Cc: [EMAIL PROTECTED] Subject: Re: Can't get Perl CGI script to run on AIX You might want to take a look at your shebang. I'm no AIX guru, but I'm pretty sure the perl binary on your system isn't called bin. Try #!/usr/opt/perl5/bin/perl Peace, Jamie Nguon, Vath wrote: > I am having trouble to get the following perl cgi script to work on an > AIX Unix system. The browser error message resulted from the script is > following the program. I appreciate any help in correcting the problem. > > ================================================ > #!/usr/opt/perl5/bin > use CGI; > > my $q = new CGI; > print $q->header; > print $q->start_html(-title=>'CGI Test'); > print $q->hr; > print $q->h2("CGI Hello world"); > print $q->hr; > print $q->end_html; > > exit 0; > ================================================= > > > Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, [EMAIL PROTECTED] and inform > them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error > log. > > ** > ** > *Vath Nguon* > Tel: (213) 922-4757 > _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
