Recent Changes - Search:

Softwares

.

PrematureEndOfScriptHeadersError

Main.PrematureEndOfScriptHeadersError History

Hide minor edits - Show changes to output

November 14, 2011, at 10:31 AM by 117.202.30.104 -
Changed line 23 from:
*Check /var/log/apache/suexec.log file that should give a solution. http://httpd.apache.org/docs/1.3/suexec.html
to:
*Check /var/log/apache/suexec.log file that should give a solution. http://httpd.apache.org/docs/current/suexec.html
November 14, 2011, at 07:22 AM by 117.192.152.141 -
Changed lines 1-7 from:
%blue%Sample hello world script

#!/usr/local/bin/perl
# hello.pl -- my first perl script!
print "Content-type
: text/html\n\n";
print "Hello, world!\n";
to:
(:Google1:)
(:Googlemm:)
Added lines 4-20:

!!Finding Reason for Errors.

Sample hello world script..

(:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :)
(:cellnr:)
[@
#!/usr/local/bin/perl
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print "Hello, world!\n";
@]
(:tableend:)

'''Where to check for errors'''
Changed lines 25-33 from:
*Upload your Perl script in ASCII mode.

*Set the permission of the file to 755, which allows
the script to be executed by everybody.


%green%Tracking Errors in the Script

perl -wc helloworld
.pl
to:
'''Upload your script is ASCII mode'''

-Upload your Perl script in ASCII mode.

-Set the permission of
the file to 755, which allows the script to be executed by everybody.


'''Tracking Errors in the Script'''

(:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :)
(:cellnr:)
perl -wc helloworld.
pl
(:tableend:)
Changed line 41 from:
%green%Running it without the syntax check options:
to:
'''Running it without the syntax check options''':
Changed lines 43-45 from:
perl -w helloworld.pl

*If something strange has gone wrong with your program and youâre not sure where you should look for help, try the -w switch first. It will often point out exactly where the trouble is.
to:
(:table border=1 width=70% bgcolor=#cccc99 cellspacing=0 :)
(:cellnr:)
perl -w
helloworld.pl
(:tableend:)

If something strange has gone wrong with your program and youre not sure where you should look for help, try the -w switch first.
It will often point out exactly where the trouble is.

----
(:Google1:)
(:Googlemm:)
August 31, 2007, at 03:29 PM by 125.21.38.36 -
Added lines 1-8:
%blue%Sample hello world script

#!/usr/local/bin/perl
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print "Hello, world!\n";

----
Changed lines 11-14 from:
*Check /var/log/apache/suexec.log file that should give a solution.

http://httpd.apache.org/docs/1.3/suexec.html
to:
*Check /var/log/apache/suexec.log file that should give a solution. http://httpd.apache.org/docs/1.3/suexec.html
June 18, 2007, at 03:03 AM by 210.18.59.46 -
Added lines 5-6:
http://httpd.apache.org/docs/1.3/suexec.html
June 07, 2007, at 08:58 PM by 210.18.59.46 -
Added lines 1-20:
*Check domain/apache error log file.

*Check /var/log/apache/suexec.log file that should give a solution.

*Upload your Perl script in ASCII mode.

*Set the permission of the file to 755, which allows the script to be executed by everybody.


%green%Tracking Errors in the Script

perl -wc helloworld.pl

Will cause the Perl interpreter to check your script for syntax errors.

%green%Running it without the syntax check options:

perl -w helloworld.pl

*If something strange has gone wrong with your program and youâre not sure where you should look for help, try the -w switch first. It will often point out exactly where the trouble is.
Edit - History - Print - Recent Changes - Search
Page last modified on November 14, 2011, at 10:31 AM