in reply to Re^3: Premature end of script headers
in thread Premature end of script headers

perl -d -T /var/www/gestioip/install/index.cgi

Loading DB routines from perl5db.pl version 1.33
Editor support available.

main::(/var/www/gestioip/install/index.cgi:27):
27: my $lang;

But.... I try to put a test.cgi script in www dir with this :

#!/bin/sh
echo "Content-type: text/plain"
echo
set

It generates the same error in error.log

Replies are listed 'Best First'.
Re^5: Premature end of script headers
by hippo (Archbishop) on Sep 30, 2015 at 12:33 UTC
    It generates the same error in error.log

    Well done. You have successfully proven that the problem is not related to perl in any way.