Hi everybody,
I am using Fedora Core 3 and Apache version 2.0.52 release 3. I am trying to test the cgi perl script as following:
#!/usr/bin/perl -w
use strict;
print "Content-type: text/html\n\n";
my $list=`ls`;
print "<HTML>";
print "<HEAD>";
print "<TITLE>LISTING</TITLE>";
print "</HEAD>";
print "<BODY>";
print "<H1> $list</H1>";
print "</BODY>";
print "</HEAD>";
print "</HTML>";
While I run this script at Firefox browser, it prompts 500 Internal Server Error and the /var/log/http/error_log show like
Use of uninitialized value in concatenation (.) or string at <script _line no>
But when I put the same script and run it at RedHat Linux 9 (Apache 2.0.40), there is runable without any problem. Thus I wonder know is there a security issue I need to configure at Apache 2.0.52 version?
Please advise....... Thanks