Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

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

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

For debugging purposes, you can try running the script from the command line; then you will see exactly what the program is outputting.

If using CGI.pm, you can pass in any required parameters to replicate form input:

scriptname fee=fi fo=fum foo=bar

Comment on Answer: How to get over 'premature end of script headers' in Apache?
Download Code
Re: Answer: How to get over 'premature end of script headers' in Apache?
by dragonchild (Archbishop) on Jan 18, 2005 at 17:00 UTC
    That will definitely help, but you need to make sure that the environment is identical to the one the webserver is using. Webserver accounts tend to be very restricted, moreso than human accounts.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

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 studying the Monastery: (17)
As of 2014-04-24 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls