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.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(/var/www/gestioip/install/index.cgi:27):
27: my $lang;
But...
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 apache error.log
Comment on
Re^4: Premature end of script headers
Replies are listed 'Best First'.
Re^5: Premature end of script headers
by
choroba
(Cardinal)
on Sep 30, 2015 at 12:17 UTC
Don't use
-d
unless you want to debug your script in the debugger.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
[reply]
[d/l]
In Section
Seekers of Perl Wisdom