Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Answer: How to get over 'premature end of script headers' in Apache?

( #24449=categorized answer: print w/ replies, xml ) Need Help??

Q&A > debugging > How to get over 'premature end of script headers' in Apache? - Answer contributed by le

Be sure to send correct HTTP headers:

print "Content-type: text/html\n\n";
or
use CGI; print header();

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2016-08-24 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (350 votes). Check out past polls.