in reply to Perl?Apache issue on newly installed server

Have you looked in the Apache log file? Sometimes there are more details there.

  • Comment on Re: Perl?Apache issue on newly installed server

Replies are listed 'Best First'.
Re^2: Perl?Apache issue on newly installed server
by Dranzaz (Sexton) on Apr 08, 2009 at 14:28 UTC
    From the httpd error.log:
    [Wed Apr 08 10:14:25 2009] [error] [client 209.18.32.79] Name "main::r +everse" used only once: possible typo at /var/www/cgi-bin/ipsectest/i +psectest.pl line 98., referer: http://inoc.cdptpa.rr.com/tools/ipsect +est.html [Wed Apr 08 10:14:25 2009] [error] [client 209.18.32.79] Use of uninit +ialized value $forward in string at /var/www/cgi-bin/ipsectest/ipsect +est.pl line 97., referer: http://inoc.cdptpa.rr.com/tools/ipsectest.h +tml [Wed Apr 08 10:14:25 2009] [error] [client 209.18.32.79] readline() on + closed filehandle BLOCKREPORT at /var/www/cgi-bin/ipsectest/ipsectes +t.pl line 119., referer: http://inoc.cdptpa.rr.com/tools/ipsectest.ht +ml
    The reference to the "uninitialized value $forward" is the "$reverselu = gethostbyname("$forward");" line and since it is not writing the file in "$mechone->get( $urlone, ':content_file' => $tempfileone );" we get the "closed file handle" since there is no file.