Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by wardk (Deacon)
on Aug 21, 2002 at 20:36 UTC ( [id://191863]=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://191863]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found